Hello
Is it possible to trigger single BLE advertisement beacons, for example throug a GPIO "signal"?
I don't want to connect to any device, it should only be a single beacon to all scanning devices.
The best case would be, if i could send a different Payload with those individual beacons.
If yes, how can this be done?
Thanks!
BLE "just in time" advertisement
Re: BLE "just in time" advertisement
What do you mean by "single advertisement beacon"? BLE advertising is short transmission that is sent with, predefined by you in advertising data, interval. What you can do is set this interval to somehow high value, start advertising and after some time, shorter than interval stop advertising. In such case it will be only one advertising packet transmitted. So yes, you can trigger it with button and transmit only one advertising packet. And yes, you can send different payload each time.
The problem is that peer devices that scan and are trying to receive that particular advertising packet easy can miss it.
The problem is that peer devices that scan and are trying to receive that particular advertising packet easy can miss it.
Re: BLE "just in time" advertisement
I meant, that i need the advertisement without the frequency but with a trigger instead.
Your suggestion might be a solution, even when it is quite "hacky".
Is there a way to get informed when the beacon has been sent (e.g the possibility to regsiter a callback)?
As much as i know are some ms randomly added to the given interval to reduce the
possibility that the beacon overlaps with an other transmiter.
Thank you for your support!
Your suggestion might be a solution, even when it is quite "hacky".
Is there a way to get informed when the beacon has been sent (e.g the possibility to regsiter a callback)?
As much as i know are some ms randomly added to the given interval to reduce the
possibility that the beacon overlaps with an other transmiter.
Thank you for your support!
-
- Posts: 29
- Joined: Wed Aug 09, 2017 6:16 am
Re: BLE "just in time" advertisement
Sorry, I am afraid there is no way to know that a single adv packet has been sent.
Who is online
Users browsing this forum: No registered users and 57 guests