HI, I want to turn off the broadcast timeout, but when I change the broadcast timeout macro to 0 when the program does not work, Modify as follows:
#define APP_ADV_TIMEOUT_IN_SECONDS 0//180
HI, I want to turn off the broadcast timeout, but when I change the broadcast timeout macro to 0 when the program does not work, Modify as follows:
#define APP_ADV_TIMEOUT_IN_SECONDS 0//180
Hi Muyang,
Can you check the parameter in "advertising_init()"?
ble_advdata_t advdata;
advdata.flags = **BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE**;
Do you set it to the limited flag? It works for me to let device stay always advertising.
Hi Muyang,
Can you check the parameter in "advertising_init()"?
ble_advdata_t advdata;
advdata.flags = **BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE**;
Do you set it to the limited flag? It works for me to let device stay always advertising.
According to your method, the problem is solved, thank you for your help