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

nRF52810 S112 background reconnect issue

Hi,

I'm working through a number of the PCA10040e examples (SDK16 | S112 | nRF52810 - mouse and keyboard to be specific) and have noticed some irregular behavior when waking the peripheral from sleep.  After bonding, if you put the peripheral to sleep, and let the central go to sleep as well (screen locked/off, no audio playing, etc.) and then wake the peripheral, the connection is not reestablished.  To restore the connection, you have to restart the peripheral with the central awake (i.e. being moved, screen on, audio playing, etc.)  However, if the central is "awake" when the peripheral is woken up, the connection is restored as expected.

I tried this with a nRF52832 (same examples in PCA10040 with S132) and the issue does not present itself.  The connection is able to be reestablished with the central sleeping.  Is this something to do with the Soft Device?  I plan on running a set of sniffer traces this afternoon and will post the results.

Thanks

p.s. central is an iOS device at this time.

Parents Reply
  • HI Kenneth,

    (e.g. if other phones also show the same, or if it affect normal usage when phone is not in sleep).

    Tested with an iPhone 11 - same result.  Will have results on a couple of androids over the weekend. 

    I also began to rebuild in SDK14.2 so that I could use S132, but due to memory size constraints, it looks like I'll be unable to achieve the desired outcome going that route.  I'm not expecting any real action from Apple.  Is there any way to detect the failed reconnect on the peripheral end and re-initiate?  If not, it looks like I'll be forced to step up to the nRF52832...

Children
Related