https://github.com/don/bluetoothlock
https://github.com/don/bluetoothlock
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/don/bluetoothlock
- Owner: don
- License: other
- Created: 2014-03-28T17:41:55.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-03-30T19:29:42.000Z (about 12 years ago)
- Last Synced: 2025-10-04T13:59:18.843Z (8 months ago)
- Language: Arduino
- Size: 969 KB
- Stars: 9
- Watchers: 5
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Bluetooth Lock
## Arduino

## Cordova (aka PhoneGap)
### Setup
* Xcode 5.0
* Cordova 3.4.0
Cordova 3.4.0 won't work with Xcode 5.1, unless you apply patches. Please use Xcode 5.0.
Install NodeJS with `brew install` or download from http://nodejs.org.
Install Cordova using NPM, which comes with NodeJS.
$ npm install -g cordova
See the [Cordova Documentation](http://docs.phonegap.com/en/3.4.0/guide_platforms_ios_index.md.html#iOS%20Platform%20Guide) for more information.
### Building
The project from git contains only the Cordova code. The iOS platform and BluetoothSerial plugin need to be installed into the project before running.
$ cd cordova
$ cordova platform add ios
$ cordova plugin add https://github.com/don/BluetoothSerial
$ cordova prepare
$ open platforms/ios/Lock.xcodeproj
Plug in your iPhone.
Choose the target device in Xcode.

Build and deploy through Xcode.
### Making changes
You can modify the application by editing the files in `$PROJECT_HOME/cordova/www`.
Make sure you run `cordova prepare` before redeploying the app through Xcode.