Problem with disconnects - can I improve this?

Hello, 

I have a device that I want to operate on the lower range of RSSI (but still around -80dBm  and have problems with disconnect. I would like to understand if there is any software change I can change to improve connection reliability. See attached source file for my BLE class.

Much appreciated!

Jens

FILE: 


s10_ble.cpp

  • Both - the sensitivity was measured by outputting the RSSI value. 

    Range was measured by estimating distance after walking away with one of the devices.

    I estimate that i get disconnects starting from 50m. 

    For reference, the field is an  outdoor horse riding arena. 

  • Hi,

    jber1 said:
    Both - the sensitivity was measured by outputting the RSSI value. 

    You cannot measure the sensitivity like this. That has to be done in a controlled setting where you know the actual power and measure if reception is possible or not. The RSSI estimate in the radio is only valid down to -90 dBm. See RADIO electrical specification.

    jber1 said:
    I estimate that i get disconnects starting from 50m. 

    That is an unexpectedly short range in an open environemnt if transmitting with + 8 dBm (?), but it depends a lot on other factors as well like RF interference and connection parameters (how many packets you can loose before a disconnect). For reference, see this post.

  • 1) OK, that was good information. Thanks

    2) No, in this test i didn't run it on +8dbm, running on default. And comparing to your post I didn't align the planes either, so maybe that brings me down 28dBm (antenna plane seems to differ 10dbm x 2 (per device) + 8 dBm (tx power). If the distance double for every 6dBm then 28/6=~5, and 50*2^5 = 1600m, which matches the max length. Extremely high level obviously, but I guess it makes sense as well.

Related