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

nRF UART central example

Hi NordicS

Do you have a code example for a central UART application?

I am looking for a example that acts just like the nRF Uart App, but running on e.g. a PCA10031 dongle.

I have tried a look lot of different examples using the S120 softdevice, but I cannot find one example that actually communicates with the client device in connected state.

BR Kasper TekPartner

Parents Reply
  • Are you refeering to the central or client device regarding the Sequrity requirements.

    The client device works fine in bonded/encrypted together (with device manager) with a custom app. However when I use the client device with the central example above, the transmission from central to client works fine, but reception from client is ignored. I have enabled ENABLE_DEBUG_LOG_SUPPORT on both, and on the central I only see the "[uart_C]:" events when sending data, but no indication of received data. I do not know if data is actually sent from the client, but I gets not errors from the ble_nus_string_send function.

    It works fine with bonding/encryption disabled from the client device. (But when client disconnects the client crashes, but that is a compleate different issue)

Children
No Data
Related