Hi,
I am facing an issue wherein, GAPM_ADV_UNDIRECT case in gapm_cmp_evt_handler() function is invoked even without calling app_easy_gap_advertise_stop() function. Please suggest the possible reasons for the same.
由于先进nce,
Wisilica
Device:
Hi wisilica,
If you are not invoking the app_easy_gap_advertise_stop(), then apparenty something else is cancelling your advertising activity, a connection event perhaps will automatically cancel the advertising. Also you can have a look at the status of the callback or the param variable of the gapm_cmp_evt_handler struct in order to debug this, if there is a connection that cancels the advertising command then the status should be GAP_ERR_NO_ERROR if there is cancelation of the advertising command then it should be GAP_ERR_CANCELED etc.
Thanks MT_dialog