2020-01-21 08:00 AM
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?