sending a advertisment packet immediately/ with low delay

Hi

in NRF connect SDK is it possible to do the following:

recive one byte from PC via USB to a dev board. Immediately or with a delay less than 200 micro second send a advertisment packet with Manufacturer Specific Data (BT_DATA_MANUFACTURER_DATA) with the byte received from PC?

Do I have control of when the ADV packet is transmitted?

According to bluetooth spec a random delay of 0-10 ms is introduced when sending a ADV packet. Is the random delay ist set only at startup or with every ADV packet sent?

thx

Parents
  • Hi klaus1234,

    You don't have control of when the ADV packet are sent. You simply request the BLE controller to start advertising with these data and parameters; and it's then entirely up to the controller to do the job.

    Jakob also explained well why the 0-10ms random delay is also on every single packet, as well as overall limitation you should expect when working with BLE.

    Could you please share the overall goal you have with this? Then perhaps we can look at other alternatives.

    Hieu

Reply
  • Hi klaus1234,

    You don't have control of when the ADV packet are sent. You simply request the BLE controller to start advertising with these data and parameters; and it's then entirely up to the controller to do the job.

    Jakob also explained well why the 0-10ms random delay is also on every single packet, as well as overall limitation you should expect when working with BLE.

    Could you please share the overall goal you have with this? Then perhaps we can look at other alternatives.

    Hieu

Children
Related