https://github.com/don/encrypted-characteristics
https://github.com/don/encrypted-characteristics
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/don/encrypted-characteristics
- Owner: don
- Created: 2018-03-20T20:19:39.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-20T20:22:14.000Z (about 8 years ago)
- Last Synced: 2025-01-05T07:45:14.299Z (over 1 year ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Experimental projects looking at Bluetooth services with encrypted characteristics.
The service has one characteristic with read, write, notify properties. The permissions require encryption for read and write.
SERVICE 24E1B2B0-3218-425E-B940-F52CF4F7D88C
CHARACTERISTIC 24E1B2B1-3218-425E-B940-F52CF4F7D88C 4 byte Uint32LE read, write, notify
## bleno
The bleno example only runs on macOS. macOS is the peripheral.
cd bleno
npm install
node index
Connect to the peripheral using Light Blue Explorer or nRF Connect. The first time you read or write the characteristic, the OS should initiate the pairing process to create a bond.
## Corodva
The cordova example only runs on iOS. Cordova is the peripheral.
cd cordova
cordova platform add ios
cordova run ios --device
Connect to the peripheral using Light Blue Explorer or nRF Connect. The first time you read or write the characteristic, the OS should initiate the pairing process to create a bond.
Note: The first time you run on iOS you might need to open Xcode and set the development team and certificate.
open platforms/ios/Encrypted.xcworkspace
Tested with macOS 10.13.2 and iOS 11.2.6 as peripherals. Used iOS 11.2.6 and Android 8.1.0 as central.