- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
After terminating a connection and restarting advertisements my 20737TAG will frequently enter into a failure mode where advertisements cannot be stopped. When the device is in that mode, the following commands will fail to stop advertisements:
blecm_setAdvEnable(0)
nor
bleprofile_Discoverable(NO_DISCOVERABLE, NULL)
I am sending these commands via my interactive debug console through the UART.
When that happens, I am also unable to change the advertisement data.
Other than this the device is functional, so I don't think this is a crash, at least not a full system. Maybe the task that handles beacons dies? Has anyone experienced this? Any recommendations on how to resolve it?
I am using the following commands to terminate connections:
blecm_disconnect(BT_ERROR_CODE_CONNECTION_TERMINATED_BY_LOCAL_HOST);
blecen_Conn(NO_CONN, NULL, 0);
I've tried several combinations of the above (just one of them, or both in swapped order) and I still observe the same problem.
Cheers,
Solved! Go to Solution.
- Labels:
-
SDK 2.X
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content