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
  • Hi Ahmed,

    The sniffer can't follow the connection if it's already paired because it has no key to decrypt the connection.

    What you would need to do is to unpair them first, let the sniffer running, tell the sniffer to follow the device. Then you use the central to connect and initiate bond. After that the sniffer should be able to follow the encrypted connection.

Reply
  • Hi Ahmed,

    The sniffer can't follow the connection if it's already paired because it has no key to decrypt the connection.

    What you would need to do is to unpair them first, let the sniffer running, tell the sniffer to follow the device. Then you use the central to connect and initiate bond. After that the sniffer should be able to follow the encrypted connection.

Children
No Data
Related