https://github.com/matthewelse/ble-peripheral-example
Cross Platform BLE Peripheral Example
https://github.com/matthewelse/ble-peripheral-example
Last synced: about 1 month ago
JSON representation
Cross Platform BLE Peripheral Example
- Host: GitHub
- URL: https://github.com/matthewelse/ble-peripheral-example
- Owner: matthewelse
- Created: 2016-09-13T10:07:48.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-13T14:36:17.000Z (almost 10 years ago)
- Last Synced: 2025-01-27T11:49:47.239Z (over 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ble-peripheral-example
Cross Platform BLE Peripheral Example
## Instructions
### mbed OS
You need mbed-cli, as well as the ARM Embedded GCC toolchain. You also need gulp:
```bash
git clone https://github.com/matthewelse/ble-peripheral-example
cd ble-peripheral-example
npm install
gulp --target=NRF52_DK
```
The output hex file is now in `build/out/mbedos5.hex`.
### macOS
You can run this straight away as a node module:
```bash
git clone https://github.com/matthewelse/ble-peripheral-example
cd ble-peripheral-example
npm install
node main.js
```