Tool/software: TI-RTOS
Hi everyone!
I want to stop broadcasting after 3 seconds of broadcasting on simple_peripheral project.
I have changed DEFAULT_DISCOVERABLE_MODE from GAP_ADTYPE_FLAGS_GENERAL to GAP_ADTYPE_FLAGS_LIMITED,
and set values of "TGAP_LIM_ADV_TIMEOUT" and "advertOffTime " to 3 but it does not stop broadcasting after 3 seconds.
Is there still have some code I need to modify?
============SimplePeripheral_init====================
uint16_t advertOffTime = 3;
GAP_SetParamValue(TGAP_LIM_ADV_TIMEOUT, 3);
================================================
Many thanks, Gary