This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Also, after the time out happens,
BLE device is actually not be able to broadcast any advertisement packets.
(observed by BLE sniffer), neither can it receives any advertisement or connection request.
Bluetopia is not returning any error codes for any GAP_LE_Advertising_Enable() or GAP_LE_Set_Advertising_Data() or GAP_LE_Advertising_Disable().
As suggested by Stonestreeone suppport, it could be a hardware issue of CC2564
Try different Bluetopia version and TI patch combination,
all have supervision time out issue, but some more severe (more frequently)
BLE Stack 1.4 OK, some time out
BLE Stack 1.4 + 2.14 patch More time out
BLE Stack 1.5R1 + 2.12 patch More time out
BLE Stack 1.5R1 + 2.14 patch More time out
I have capture TX_DBG output for several times, it all seems
have something to do with HCILL_GOTO_SLEEP_IND_MSG
Also I saw and old post about supervision time out, also not solved
http://e2e.ti.com/support/wireless_connectivity/f/660/t/292276aspx
Hello Sundeep,
I just send the log files to your email
With the title "Unexpected Disconnection due to HCI TIME OUT"
Hi,
From the logs you have provided the disconnection is due to connection timeout(0x08).
Once the connection is established, if there is no indications or notifications (that is no data to transfer) it will wait for the idle connection timeout and disconnect. Please see the Bluetooth specification for more details.
Hi Sundeep,
Thanks for the answer about as supervision time out.
1) But why did it happened?
Time out sometimes it happened
a few minutes after connection, sometimes after 20~30 minutes.
In our test, there is data transfer every 10 second.
When test with iOS App, iOS also reported the disconnect reason as unexpected time out.
We have tried different iOS / Android devices, all have the same issue time out issue.
2) It is hardly can be observed with Bluetopia v1.4 and older one.
3) In addition, how about those goto sleep HCI event,
I have capture several DX_TBD logs, and those goto sleep event always happens,
only happens before supervision time out.
Thanks.
Hi,
1)As mentioned earlier once the connection is established, if there is no indications or notifications (that is no data to transfer) it will wait for the idle connection timeout and disconnect. Please see the Bluetooth specification for more details.
2) If there is no interaction in the idle connection timeout then there will be a disconnect.
You can try increasing the "connection timeout", "connSlaveLatency and "connInterval" values in connection request and check.
3) If the sleep mode is enabled, then if we have no activity on the module for 100ms we inform the host that we are going in to sleep and once we get the acknowledgment from the host. we go to sleep.
I don't see any problem with the sleep mode, as and when you have some activity on the module it is coming out of sleep (AWAKE state).