How can I set a custom interval for *extended* advertising?
I'm currently calling bt_le_ext_adv_start(struct bt_le_ext_adv *adv, const struct bt_le_ext_adv_start_param *param)
How can I set a custom interval for *extended* advertising?
I'm currently calling bt_le_ext_adv_start(struct bt_le_ext_adv *adv, const struct bt_le_ext_adv_start_param *param)
Hi,
When you call crate the advertising set using bt_le_ext_adv_create() (before you call bt_le_ext_adv_start()), the first parameter is an instance of bt_le_adv_param, and there you configure the advertising interval. If you look at examples, most will use a macro like BT_LE_EXT_ADV_CONN, but you can build the struct yourself and adapt the parameters to your needs.
Hi,
When you call crate the advertising set using bt_le_ext_adv_create() (before you call bt_le_ext_adv_start()), the first parameter is an instance of bt_le_adv_param, and there you configure the advertising interval. If you look at examples, most will use a macro like BT_LE_EXT_ADV_CONN, but you can build the struct yourself and adapt the parameters to your needs.