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

can not scan device

Hi, I'm using nRF52832 with sdk 13.1.0(softdevice 4.0.2). I had trouble to scan nRF52832 in android smart device.When i disconnect the device a long time when the status is lock screen,then the android device can not find the device(NRF52832).It also cannot find the other device.But I use the other android device to scan device is ok.Then i open the screen,everything will be ok.But i want to scan it when the status is lock screen.What should i do?

Parents
  • Hi asdf,

    It's hard to catch what you want to say here, you meant background or foreground ? You may want to post a snippet of your code. I assume it works fine when you open the screen and the app is open.

    I'm not so familiar with Android but what is that btm_ble_stop_scan ? it's the function you call in your app ?

    Also since it works with Sony but doesn't work with Huawei, I suspect it's more about Huawei issue.

Reply
  • Hi asdf,

    It's hard to catch what you want to say here, you meant background or foreground ? You may want to post a snippet of your code. I assume it works fine when you open the screen and the app is open.

    I'm not so familiar with Android but what is that btm_ble_stop_scan ? it's the function you call in your app ?

    Also since it works with Sony but doesn't work with Huawei, I suspect it's more about Huawei issue.

Children
No Data
Related