what is the minimal advertising interval?

3 posts / 0 new
Last post
achao1104
Offline
Last seen:5 years 2 months ago
Master
加入:2015-12-24 10:56
what is the minimal advertising interval?

如果我把intv = 160, I can see the pack is sent out by sniffer.
如果我把intv = 150 or below, I can not see the pack is sent out.

static const struct advertise_configuration user_non_connectable_advertise_conf ={
/// Advertise operation type.
.advertise_operation=ADV_NON_CONN,
/// Own BD address source of the device:
.address_src=GAPM_PUBLIC_ADDR,
/// Advertise interval
.intv = 160,
///Advertising channel map
.channel_map = 0x7,
};

Device:
Joacimwe
Offline
Last seen:1 year 5 months ago
Guru
加入:2014-01-14 06:45
Per the Bluetooth

Per the Bluetooth specification,
"The advInterval shall be an integer multiple of 0.625 ms in the range of 20 ms to 10.24 s.
If the advertising event type is either a scannable undirected event
type or a non-connectable undirected event type, the advInterval shall not be
less than 100 ms. If the advertising event type is a connectable undirected
event type or connectable directed event type used in a low duty cycle mode,
the advInterval can be 20 ms or greater.",
which means .intv can be between 160 and 16384 for non-connectable advertisements.
Use for example connectable advertisements to be able to use a smaller interval.

achao1104
Offline
Last seen:5 years 2 months ago
Master
加入:2015-12-24 10:56
thanks a lot

thanks a lot

Topic locked