cancel
Showing results for 
Search instead for 
Did you mean: 

Function aci_gap_additional_beacon_stop returns 0x0C

IHlot.1
Associate II

Hi,

I'm using a couple of functions:

tBleStatus aci_gap_additional_beacon_start(...);

and

tBleStatus aci_gap_additional_beacon_stop();

The point is that aci_gap_additional_beacon_stop() periodically returns error code 0x0C, which means "command disallowed".

NOTE: I'm using STOP2 mode, if I comment out this part (not allow MCU enter sleep mode) the aforementioned function returns 0x00 all the time.

How to use STOP2 mode in a proper way?

1 REPLY 1
Remy ISSALYS
ST Employee

Hello,

In order to see how to use STOP2 mode, you can look BLE_HeartRate example which allow to do STOP2 low power mode using low power manager.

Best Regards