cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB55 beacon

rbenv.3
Associate II

Using STM32WB55 as iBeacon, and Low Power mode (STOP2), the firmware on function MX_APPE_Process();

doesn't return to my firmware, so how can I change contents of advertising data ?

I tried a timer to have my firmware run, it does, but it seems to me that calling 

aci_gap_update_adv_data(sizeof(advertisement), advertisement);

with new data does not updates it.

Using stack 1.20.0

1 REPLY 1
STTwo-32
ST Employee

Hello @rbenv.3 

In fact, on any BLE application using the STM32WB, you have to integrate your Low power modes throw the LPM feature on the STM32WB. The application is based on a sequencer that keep running tasks after starting. So, you have to set the low power modes inside the sequencer using the LPM. More details on that available on the AN5289 specially Paragraphe 4.6. 

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.