Adafruit Bluefruit with KL25Z
Dependencies: BLE_nRF8001 mbed
Simple implementation of UART on FRDM KL25Z board with nRF8001 Adafruit breakout. Uses RedBearLabs Library and could be made to work with their BLE Shield.
UART Characteristics can be changed to work with either RedBearLabs BLE Controller app or using the Nordic settings the nRF apps or the Adafruit Bluefruit LE apps.
Revision 6:7b16a72aebe8, committed 2017-03-10
- Comitter:
- highroads
- Date:
- Fri Mar 10 23:08:18 2017 +0000
- Parent:
- 5:83be623f6ad4
- Commit message:
- Characteristics for Nordic UART in comments corrected and tested with Bluefruit and Nordic apps with those settings. Current compile characteristics for RedBearLabs BLE Controller.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Mar 10 18:11:45 2017 +0000 +++ b/main.cpp Fri Mar 10 23:08:18 2017 +0000 @@ -55,12 +55,11 @@ BLECharacteristic rxCharacteristic = BLECharacteristic("713d0003503e4c75ba943148f18d941e", BLEWriteWithoutResponse, 20); /*--------------------------------------------------------------------------------------------*/ // -// Nordic characteristics work with Nordic and Bluefruit LE app +// Nordic characteristics work with Nordic and Bluefruit LE apps // uartService 6E400001-B5A3-F393-E0A9-E50E24DCCA9E -// txCharacteristic 6E400002-B5A3-F393-E0A9-E50E24DCCA9E -// rxCharacteristic 6E400003-B5A3-F393-E0A9-E50E24DCCA9E +// txCharacteristic 6E400003-B5A3-F393-E0A9-E50E24DCCA9E +// rxCharacteristic 6E400002-B5A3-F393-E0A9-E50E24DCCA9E // RedBearLabs characteristics work with RedBear BLE Controller app -// https://itunes.apple.com/us/app/ble-controller/id855062200?mt=8 // uartService 713d0000503e4c75ba943148f18d941e // txCharacteristic 713d0002503e4c75ba943148f18d941e // rxCharacteristic 713d0003503e4c75ba943148f18d941e