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

Help in nRF51 ble_app_uart_c_S120

Hi every one,

I work on application that read continuous analog signal with 500 sample/second and send it from nRF51822 board (1) to nRF51822 board (2) and read this value in pc via UART, i found the example for auto scanning and pairing works on master mode and based on S120 soft device in this link github.com/.../ble_app_uart_c_S120. I flash it in nRF51 dongle, it is work fine , the starting scanning and pairing, but there is a time delay after pairing (about 1 to 2 minutes) in this period i cannot receive any thing, after this the process work fine and the data received in board (2) and i can read it by using any UART terminal software. Is this case is normal ? or there is an additional setting should be done.

Thanks for your help

Regards

tests.pcapng

Parents
  • @ahmed: Please save and attach the sniffer log. You can update the question to add your file(s).

    What you would need to test is right after the device got connected and encrypted, try to type as fast as possible in the terminal. When it's more than 20 characters pressed, the central/peripheral will send the text. It won't send the notification on every byte but wait until the buffer receives 20 bytes. You can also run the device in debug mode and add a breakpoint at the command to send notification to check if it's called.

Reply
  • @ahmed: Please save and attach the sniffer log. You can update the question to add your file(s).

    What you would need to test is right after the device got connected and encrypted, try to type as fast as possible in the terminal. When it's more than 20 characters pressed, the central/peripheral will send the text. It won't send the notification on every byte but wait until the buffer receives 20 bytes. You can also run the device in debug mode and add a breakpoint at the command to send notification to check if it's called.

Children
No Data
Related