An Arduino library for creating custom BLE peripherals and observers with Nordic Semiconductor's nR51822.
This is heavily based on @sandeepmistry's arduino-BLEPeripheral library. This fork adds support for the observer role (i.e. receiving Bluetooth advertisements), but consequently can't support the nRF8001 anymore.
WARNING: Adafruit nRF51 boards are NOT compatible with this library, this includes the Bluefruit LE UART Friend, Bluefruit LE SPI Friend, Bluefruit LE Shield, Flora Wearable Bluefruit LE Module, Feather 32u4 Bluefruit LE, and Feather M0 Bluefruit LE.
- Various, see arduino-nRF5 supported boards via nRF5 Arduino Add-on
- Choose
Sketch
->Include Library
->Manage Libraries...
- Type
BLEPeripheralObserver
into the search box. - Click the row to select the library.
- Click the
Install
button to install the library.
cd ~/Documents/Arduino/libraries/
git clone https://github.com/floe/BLEPeripheralObserver BLEPeripheralObserver
cd ~/Documents/mpide/libraries/
git clone https://github.com/floe/BLEPeripheralObserver BLEPeripheralObserver
arduino-nRF5x core users
The arduino-nRF5x core REQUIRES a SoftDevice in order to successfully use this library. Please see Flashing a SoftDevice.
Further, the error fatal error: ble_gatts.h: No such file or directory
in indicitive of no SoftDevice being selected.
Load starter.ino
See API.md.
See examples folder.
This libary is licensed under the MIT Licence.