Re: Eddystone TLM


Luiz Augusto von Dentz
 

Hi Marcio,

Well I don't think the HCI interface, up to 4.2, offers this kind of
interface, it does have commands to set the AD and then enable it but
the link layer don't tell us exactly when the advertisement is sent
over the air.

There is perhaps some ways to build around with new commands added in
Bluetooth 5.0, for example there is LE Advertising Set Terminated
Event which we might support eventually but it would probably require
some API changes, or adding a new ones, to deal with multiple
advertisement instances, etc.

On Mon, Dec 19, 2016 at 12:19 PM, Marcio Montenegro <mtuxpe(a)gmail.com> wrote:
Hi all,
It´s easy to build TLM eddsytone package for Zephyr,
Unfortunately the data payload inside eddystone TLM is not fixed. ADV_CNT is
incremented after advertising and SEC_CNT is incremented after 0.1 second.
After calling bt_le_adv_start() I can´t find information if the last data
was transmitted and when the stack is ready for new data.
Is there any notification from radio on zephyr kernel ? If not any
suggestion of how notification or other solution can be implemented ?
Regards,

https://github.com/google/eddystone/blob/master/eddystone-tlm/tlm-plain.md
--
Luiz Augusto von Dentz

Join devel@lists.zephyrproject.org to automatically receive all group messages.