BLE range has diminished

Hello,

I am developing a project in which I'm working with a custom PCB using the Fanstel BC832 module, equipped with the nRF52832 chip. I'm using Zephyr through VS Code to create a simple program to take some ADC measurements from my PCB and transmit them via BLE to a central device (laptop). I recently experienced the issue of losing BLE packets and getting random disconnect errors when my PCB experiences some reorientations a few feet away from the central device. The same device experiences no issues with BLE code developed in Arduino IDE, so I'm curious as to any insight/advice people might have to help me fix the issue. 

I tried using my DK as a sniffer and caught the activity when the PCB was rotated away from the central, causing disconnection:

And when it got reconnected upon bringing the device closer to the central once again:

Any clues on how to debug this interesting issue would be greatly appreciated.

Parents
  • Hello,

    It is difficult to say what the issue may be based on the screenshots you are providing. 

    Does the log from the nRF say anything before the disconnect? Perhaps the application running on the nRF is crashing, causing it to restart and start advertising again?

    At least I can tell that the peripheral stops replying in your sniffer trace, which suggests that something like this might have happened.

    Best regards,

    Edvin

Reply
  • Hello,

    It is difficult to say what the issue may be based on the screenshots you are providing. 

    Does the log from the nRF say anything before the disconnect? Perhaps the application running on the nRF is crashing, causing it to restart and start advertising again?

    At least I can tell that the peripheral stops replying in your sniffer trace, which suggests that something like this might have happened.

    Best regards,

    Edvin

Children
Related