Hello,
I would like advertise for an unlimited time. Why value 0 in ble_gap_adv_params_t::timeout don't work ? Device don't advertise anything. It works fine with a positive value ( <180)/ I'm using S110 stack v6 and the last SDK .
Thanks,
Hello,
I would like advertise for an unlimited time. Why value 0 in ble_gap_adv_params_t::timeout don't work ? Device don't advertise anything. It works fine with a positive value ( <180)/ I'm using S110 stack v6 and the last SDK .
Thanks,
Hi there,
Are you advertising in limited discovery mode? i.e. is the flag BLE_GAP_ADV_FLAG_LE_LIMITED_DISC_MODE set in your advertisement data? If so, the call will fail because limited advertising can only be done for 180 seconds maximum.
If you want unlimited advertising use general discovery by setting this flag: BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE instead.
Regards,
Carles
Where is the detailed documentation for those flags ? What I can see is quite useless :
#define BLE_GAP_ADV_FLAG_LE_GENERAL_DISC_MODE (0x02)
LE General Discoverable Mode.