6 years, 1 month ago.

How to send notifications to central ?


How to modify this exemple to send notifications to central ?

Thank you.

Question relating to:

use UART Service to loopback anything received on the TX characteristic onto the RX. BLE, nRF UART

1 Answer

6 years ago.

The Nordic UART service has 2 characteristics: Rx and Tx. The Rx characteristic has the notifying property. You need to enable the notification from the central side in your iOS/Android app. When you receive data on the Rx line, the Rx characteristic value is updated and the notification is fired, causing the didUpdateValueForCharacteristic method to be called in your app.

how to do this in a nrf51822 central device? hvx method is not called even if the server has notification flag set... so I think client needs to subscribe to the notification event ,... but can't and function or thing...

posted by Shirish Jadav 21 May 2016