CoreBluetooth[WARNING] Unknown error: 14 on iPhone 5

僤鯓⒐⒋嵵緔 提交于 2019-12-04 02:35:35

You cannot intercept these CB errors, they are just traces from lower layer BLE.

Error 13 for instance is when the length of written data is not as specified in the GATT database. Error 14 means the connection was closed by other side (peripheral). I have seen this several times. Some times I read data too fast (You are not allowed to request next access before previous has been answered, there is only 1 "resource" in BLE per connection. Maybe this is what you also see?

As always it is best to get the TI BTLE USB Dongle with sniffer sw installed and then use the TI RF Sniffer tool in BLE mode with that dongle. You get a lot of information you can debug from in those traces. Like see if there are more than one read or write request without response.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!