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

NUS UART Service - Getting confirmation after writing to the gatt queue?

Hi,

I am new to the SoftDevice and I am using NUS UART example (nRF5_SDK_16.0.0_98a08e2\examples\ble_central\ble_app_uart_c\pca10040\s132\ses). In server side, after writing to the gatt characteristic (ble_nus_c_string_send), how can confirm that the other device read the data? I am not sure the example uses indication or notification.

Thanks

Ras

Parents
  • Hi, 

    In server side, after writing to the gatt characteristic (ble_nus_c_string_send), how can confirm that the other device read the data?

    Not sure I understand the question correctly or not. Please correct me if I am wrong. 

    The Server cannot write to the Client. When the client sends a write request to the server, the server would send Confirmation. 

    Please see the following figure for data transfer:  

     

    I am not sure the example uses indication or notification.

     It uses notifications.  Please see Nordic UART Service Client

    -Amanda H.

Reply
  • Hi, 

    In server side, after writing to the gatt characteristic (ble_nus_c_string_send), how can confirm that the other device read the data?

    Not sure I understand the question correctly or not. Please correct me if I am wrong. 

    The Server cannot write to the Client. When the client sends a write request to the server, the server would send Confirmation. 

    Please see the following figure for data transfer:  

     

    I am not sure the example uses indication or notification.

     It uses notifications.  Please see Nordic UART Service Client

    -Amanda H.

Children
Related