-
This project is now a part of the official nRF5 SDK. It can be found here. Users are advised to use the SDK version, unless you have a specific reason to use this one.
-
This version of the project has been updated to use SDK v.9 and Softdevice S130. For the SDK8 and S120 version, see the branch called "SDKv8.0".
Client example with 128 bit UUID service&characteristics for S130
It's based on the ble_app_hrs_c. The HRS service was replaced by the NUS (Nordic Uart Service) service. This project can be used in conjunction with the UART serial port emulation example from SDK v9.0.0 (http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/ble_sdk_app_nus_eval.html?cp=4_1_0_4_4_17).
Functionality:
- Scan for and connect to a peripheral that advertise with the 128bit UUID NUS service
- Do service discovery and notify the application if the NUS UUID service found
- Enable RX CCCD for notification (Subscribe to notifications on from the peripheral)
- Forward data received from the peer device TX Characteristic to UART
- Forward data received on UART to the peer device RX Characteristic
Be noted that the Characteristic's names and UUID were copied from the original ble_app_uart so that the 2 examples matched. It may not match with the description of the RX and TX characteristics (reversed)
Requirements
nRF51 SDK version 9.0.0
S130 v1.0
nRF51-DK, or nRF51-Dongle, version 1.0.0 or later
The project may need modifications to work with other versions or other boards.
About this project
This application is one of several applications that has been built by the support team at Nordic Semiconductor, as a demo of some particular feature or use case. It has not necessarily been thoroughly tested, so there might be unknown issues. It is hence provided as-is, without any warranty.
However, in the hope that it still may be useful also for others than the ones we initially wrote it for, we've chosen to distribute it here on GitHub.
The application is built to be used with the official nRF51 SDK, that can be downloaded from https://www.nordicsemi.no, provided you have a product key for one of our kits.
Please post any questions about this project on https://devzone.nordicsemi.com.