Bluetooth do host connection peripherals occasionally appear 0x3E error, want to ask what may be the cause. In addition, when other scanning devices of the same type are also enabled, errors 0x22 and 0x3E are more likely to occur.
Bluetooth do host connection peripherals occasionally appear 0x3E error, want to ask what may be the cause. In addition, when other scanning devices of the same type are also enabled, errors 0x22 and 0x3E are more likely to occur.
Hello,
0x3E is the HCI Error Connection Failed to Be Established.
It typically comes due to interference, for example from other 2.4GHz devices, such as the other devices you have connected if the connection parameters are set too small to handle multiple connection at the same time
You said that you see this occurring when you're using other devices nearby? I guess then that this error would make sense. To counter this you could for instance try tweaking the connection parameters.
0x22 is BLE_HCI_STATUS_CODE_LMP_RESPONSE_TIMEOUT, and the reasoning there might not be as obvious. Maybe a sniffer trace might describe the situation better, but if they show up together I guess they are related. Maybe handling the connection parameters will fix both.
Regards,
Elfving
Thank you for your help, can you help to provide the idea of modifying the connection parameters? I don't know what connection parameter changes would be effective in solving this problem
Hi, It is a long weekend for many in Norway and many are away today. You will most likely get a response on Monday.
Thanks you for your patience so far.
Hello Ayden,
You can for instance have a look and try what is suggested here. There are a few cases on DevZone about this topic.
Regards,
Elfving