Try using blecm_SetPtrConMux(). See hello_client sample app in SDK 2.0.1 before it sends out a notification to its master.
1 of 1 people found this helpful
Thanks. I have disconnects working stably now.
I don't know why I didn't think about that earlier, since I obviously had to set the ConMux when the connection came up. It might have been because I also making the call to bleprofile_Discoverable with SDK 2.0 that victorz decribes in the following thread:
Either way, between making the call to blecm_SetPtrConMux() and removing the call to bleprofile_Discoverable() I have a good connect/disconnect recipe working.
where is the documentation on the ConMux methods? It's not included in the API guide that came with the SDK.