- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have a central that alternately connects to 2 peripherals.
Sometimes, just after it attempts to connect, there is no connUp callback, just "bleprofile_connDown stop Idle Timer" and then the connDown callback, and no callback for connUp/encrypt/bond.
Our LOOP is essentially:
Start scan and get Bluetooth address of each peripheral.
Callback fine timer to STOP SCAN and
start connection "blecm_CreateConnection".
[ >>> DISCONNECTION SOMETIMES OCCURS HERE <<< ]
Callback for connUp
Callback for encrypt
Callback for bond
send write-request
and
receive multiple notifications.
blecm_disconnect(BT_ERROR_CODE_CONNECTION_TERMINATED_BY_LOCAL_HOST)
Callback for connDown
Select next peripheral and
REPEAT LOOP
Solved! Go to Solution.
- Tags:
- connection wiced
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This was caused by unexpected
bleprofile_connDown stop Idle Timer" (see subsequent question about this).
This question