cancel
Showing results for 
Search instead for 
Did you mean: 

How to correctly stop scanning for beacons (entering low current sleep mode again)?

JHald.1
Associate

I'm using the BlueNRG-2 with FreeRTOS in Atollic TrueSTUDIO.

I succeeded in scanning for beacons using:

ret = aci_gap_start_observation_proc(160, 160, 0x00, 0x00, 0x00, 0x00);

But after some time I would like to stop scanning and e.g. enter sleep mode again (< 0.1mA).

But there seems to be no way to stop the observation procedure. I always measure > 20mA in this case.

I tried calling:

ret = aci_gap_start_observation_proc(0, 0, 0x00, 0x00, 0x00, 0x00);

But this doesn't help.

Any suggestions?

0 REPLIES 0