This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Two way communication in BLE Heart Rate Sample App

Hi,

I am using nRF5_SDK_11.0.0 to learn how to use BLE stack to communicate. For the BLE HRS app, I want to achieve sth. like this: Central node can configure the sending rate of peripheral node; not only that, it can also inform peripheral to start or stop HR sending.

Can anyone enlighten me on this? It will be great with sample code, since I am new in this area.

Parents Reply
  • ble_app_hrs implements the Heart Rate Service, this is a service adopted by the Bluetooth SIG. You can find a list over the adopted services here. According to the specification the central cannot change the Transmission Interval, see Section 3.1.1.5. The functionality you descirbe is easy to implement, but then you shouldn't use the UUID of the heart rate service, you should use a proprietary UUID, and implement you own service.

Children
No Data
Related