I'm migrating a project from SDK 14.2.0 to SDK 15.3.0. I use gcc. I have three advertising modes and the first of them is working fine. For the second one, the same
I'm migrating a project from SDK 14.2.0 to SDK 15.3.0. I use gcc. I have three advertising modes and the first of them is working fine. For the second one, the same
No, as the comment in the ble_advertising_init states
// Configure a initial advertising configuration. The advertising data and and advertising
// parameters will be changed later when we call @ref ble_advertising_start, but must be set
// to legal values here to define an advertising handle.
When you start advertising using ble_advertising_start, then the intervals set in ble_advertising_init_t init struct will be used, i.e. if you call
ble_advertising_start(&m_advertising, BLE_ADV_MODE_SLOW);
then the following parameters will be used.
init.config.ble_adv_slow_interval = APP_ADV_INTERVAL;
init.config.ble_adv_slow_timeout = APP_ADV_DURATION;
Best regards
Bjørn