Skip to main content
rbenv.3
Associate III
August 15, 2024
Question

STM32WB55 beacon

  • August 15, 2024
  • 1 reply
  • 1029 views

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

STTwo-32
Technical Moderator
September 11, 2024

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