This is an app to control the Smart Car project in my school.
The name of the project is "Smart car"
- node.js
- apache-cordova
- For iOS: xcode-compile-tools
- For Android: android-sdk
var Characteristic = {
UUID: "3ff8860e-72ca-4a25-9c4e-99c7d3b08e9b",
DEFAULT: 0x50,
windows: {
UP: 0x51,
DOWN: 0x52,
},
ignition: {
ON: 0x60,
OFF: 0x50,
STARTER_ON: 0x62,
STARTER_OFF: 0x63,
},
centralLocking: {
UNLOCK: 0x75,
},
trunk: {
OPEN: 0x77,
},
DATE: {
DEFAULT: "0",
SET_DATE_TIME: "1",
CENTRAL_LOCK: "3",
},
password: {
UUID: "def231dc-07d4-4a71-b735-811e07d44c07",
},
};
- cd smart-key; cordova platform add
- cordova build
- Open the IDE for the specific platform you are building (for iOS: XCode , for Android: Android Studio)