Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
Is there a way to force a specific peripheral to disconnect from a central device when multiple peripherals are connected to a central device?
There seems only to be blecm_disconnect(BT_ERROR_CODE_CONNECTION_TERMINATED_BY_LOCAL_HOST), but how is the peripheral specified? I have tried using emconinfo_setConnHandle(), and this seems to work sometime but other times emconinfo starts returning bogus data for the other peripherals.
Can you provide some pseudo-code to show how this "should" be done?
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: