如果我把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:
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.
thanks a lot