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

Connect to phone in background

I'm trying to get my nRF52 BLE peripheral to connect to my phone while its screen is off and it's in sleep mode. Other consumer BLE peripherals that I have can connect to my phone while its screen is off but my peripheral can't and will only reconnect once I turn the screen on. Is there some sort of setting or configuration to enable the background connect functionality? Thanks!

Parents Reply
  • You can test the sniffer like this:

    • You put your app in background mode

    • You turn on your device, let it advertise

    • The app won't connect to your device as you described as the issue. You can use the sniffer to follow the device

    • Check if there is any connection request when the app is in background

    • Wake the app up to foreground and see if how it's connected.

    Which type of address do you have ? Please take a screenshot of the normal device and your device.

    Please be noted that, besides advertising, the nRF5 can't do anything else to interact with the phone unless the phone connect to it.

Children
No Data
Related