This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Cycling different advertising packets

Hello,

I know that similar questions have been asked before, but I am trying to schedule a number of 2 or 3 different advertising messages that I want to broadcast one after the other. A different one each advertising interval. I could use radio notifications, but they do not provide any information on the type of radio activity. How could I find out if an advertising packet has been sent or how can I get notified just before this is about to happen? I am connected to other devices and I am scanning as well. Any timeframe on an updated radio notification API? I've asked this a long time ago and got the answer that it was sent as a feature request.

Marius

Parents
  • Could you tell a bit more about your use-case? You want to broadcast multiple advertising data packets in a specific sequence - while handling connections and scanning at the same time? Is it timing-critical?

    Advertisements are not reliable enough on air to guarantee this, even without the other operations going. They are likely to collide, or advertise on the "wrong" channel.

    There is currently no direct way to detect advertisements being sent. Indirectly, you can see it with radio notifications (given no other traffic) or with scan request reporting enabled.

    I found your comment from earlier being tracked internally, but I am not sure if it is planned for any upcoming releases.

Reply
  • Could you tell a bit more about your use-case? You want to broadcast multiple advertising data packets in a specific sequence - while handling connections and scanning at the same time? Is it timing-critical?

    Advertisements are not reliable enough on air to guarantee this, even without the other operations going. They are likely to collide, or advertise on the "wrong" channel.

    There is currently no direct way to detect advertisements being sent. Indirectly, you can see it with radio notifications (given no other traffic) or with scan request reporting enabled.

    I found your comment from earlier being tracked internally, but I am not sure if it is planned for any upcoming releases.

Children
No Data
Related