1.0.1 • Published 5 years ago
ble-device-interface v1.0.1
BLE device
This module is used to receive and broadcast BLE advertisement packets from nearby nodes
Directory Structure
./example - Contains an example.ts typescript app that shows utilisation of the module
./lib - Contains generated Javascript code
./src - Contains module source code
./test - Contains Jest tests
Installation
yarn
or npm install
Fix bugs in Noble library
./noble_bug_fixes.sh
Build for distribution
yarn build
Monitor source files for changes
yarn build --watch
Run linter
yarn lint
Run tests
yarn test
Monitor tests for changes
yarn test --watch
Run example code (in example.ts)
The example code shows an example of scanning for nearby BLE nodes:
yarn example