Skip to main content
DS.4
Senior
Jun 8, 2021 5:50 AM UTC
Question

Send a single advertise packet

Is there a way to send a single advertisement packet at a specific moment in code, ( without the mix/max interval time).

I want to disable advertisement.

And control it myself.

This topic has been closed for replies.

3 replies

Remi QUINTIN
ST Technical Moderator
Jun 8, 2021 1:44 PM UTC

Could you explain the use case behind?

You can anyhow start the advertising phase with a max interval value and then wait for the “end of radio�? event (RF activity window ) and stop the advertising phase.

This way you have only one advertising window on the 3 channels 37,38 and 39.

DS.4
DS.4Author
Senior
Jun 9, 2021 9:34 AM UTC

Thanks for the answer.

The reason I am asking is that I would like to keep the same behavior from a previous controller.

Any chance a simpler possibility is available? A one shot? Instead of start stop?

Remi QUINTIN
ST Technical Moderator
Jun 9, 2021 9:44 AM UTC

Unfortunately not. We do not have any API enabling this one shot possibility.