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

Working with nrf52832 chip - connection and disconnection improvement questions

Hi. I'm working with the nrf52832 chip, and had a few high level questions I wanted outside opinions on

1) I have a lot of trouble connecting to my BLE device. I frequently run into scenarios where the connection is dropped during a connection attempt, and then the device stops advertising for a limited period of time (greater than the advertising interval I have set -- 5 seconds). Is there any settings I can improve upon to help with the connection success during these scenarios? Another thing to note is I usually dont have these issues when using the IOS nrfConnect app, but other open source applications run into these issues. 

2) There have been quite a few instances where disconnecting from this chip is unsuccessful. Is that normal to happen across different peripheral applications? Do some do that well, and others not so much? I.e. the nrf app seems to be great for connection, but open source ones not so much. Not sure if that is a valid observation, or a anomaly?

3) Is it possible that a longer connection interval negatively impacts the ability to connect to the BLE device? If so, what constitutes a "long" interval?

Thank you!

Parents
  • Hi,

    1. Are you using a custom board? How is the environment that you're testing in, is it noisy i.e WiFi, other BLE applications operating? What range are you observing the disconnection at, is it independent of distance from the device? What application are you running on the device, is it from the SDK? 
    2. There shouldn't be any difference as long as the Central handles the disconnection according to the specification. What error code do you get during the disconnection?
    3. Connection interval should not have an affect on the probability of establishing a connection. However, the combination of a short connection interval and low slave latency might make it difficult for the peripheral to maintain a connection if it's busy handling other stuff. 

    regards

    Jared

Reply
  • Hi,

    1. Are you using a custom board? How is the environment that you're testing in, is it noisy i.e WiFi, other BLE applications operating? What range are you observing the disconnection at, is it independent of distance from the device? What application are you running on the device, is it from the SDK? 
    2. There shouldn't be any difference as long as the Central handles the disconnection according to the specification. What error code do you get during the disconnection?
    3. Connection interval should not have an affect on the probability of establishing a connection. However, the combination of a short connection interval and low slave latency might make it difficult for the peripheral to maintain a connection if it's busy handling other stuff. 

    regards

    Jared

Children
No Data
Related