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

SDK13. ble_nus_c_rx_notif_enable- possible to do it?

Hi!

nRF52, SDK13, S132. I work in central mode and need make

ble_nus_c_rx_notif_enable()

But in the code drivers I only have tx function. In a SDK9 for nRF51 I have same function:

err_code = ble_uart_c_rx_notif_enable(&m_ble_uart_c);

How to call same in the SDK13?

Parents Reply
  • If you want to enable notification in SDK 13 you should use ble_nus_c_tx_notif_enable(). This means that the peripheral can send notifications to the central yes.

    Anything is possible, but yes ble_nus_c_tx_notif_enable() will only enabled notifications of TX NUS characteristic not RX NUS characteristic.

    Again, I can't even find a ble_app_uart_c example in SDK 9, so I'm a bit unsure what you are referring to.

Children
No Data
Related