car-detector-connect
v0.3.1
Published
Edge Cloud Connector CarDetector Connect
Downloads
1
Readme
Edge Cloud Connector CarDetector Connect
Electron based project using Angular and Node JS that builds into a Windows application for device discovery and internet connection sharing.
App Desciption
The application is capable of listing VLPs provisioned with the ECC Provisioning App on the local network. In addition, when connecting a VLP to the device running the application with an ethernet cable, the application will automatically detect the device and share internet (listing it as well). The application will also differentiate between CD6.5 and CD7 devices (this is determined by the applianceSubtype in the provisioning app) by showing a button labeled ‘Open CarDetector’ on CD7 devices.
How to Use
In order to utilize the internet sharing feature, an existing internet connection is required as well as connecting the device running the application through ethernet to a device running the Edge-Cloud-Connector OS.
- Start the Application, through an executable or through the development instructions below.
- The application will automatically list provisioned devices connected on the same network, differentiating between CD6.5 and CD7 devices.
- If there is a valid internet connection source and an ECC OS Device is connected through ethernet, Internet Connection Sharing (ICS) will be established. Once established, devices connected through ICS will also be listed.
- Devices running CD7 will have a button labeled "Open Car Detector" which will open the CD7 Web Interface within a new application window (pending development).
Config
To use MSI packages and components from libraries like Cobalt
- configure the local
.npmrc
for your project - Since new way of resolving npm packages is not supported, if error is displayed on
npm install
runnpm install --legacy-peer-deps
Install Angular
Install Angular and node dependencies:
- run
npm i -g @angular/cli@latest
Setup
Install Node Modules:
npm install --legacy-peer-deps
Development
NOTE: The application must be run as an administrator in order to use the internet sharing features
npm run build
builds angular frontend web content to ./frontend/distnpm run serve
serves the angular frontend at localhost:4200npm start
runs the electron application locally