This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

About connection and Bonding(Updated, Sniffer trace posted)

Hi, I am now developing the BLE with our company's own sensor, so we are not using the motherboard. There always a problem when we use it. I am using the PCA10004 board and the USB Dongle as the master emulator. Every time when I try to bond the device in the control panel it always get out different errors, some times type error,like can not use '+' for list and Non-Type; the others would be just No connection or wait for a very long time which later can not discover service. When discovering service there sometimes also receive link loss, then we have to reset all the things and start over again. The code I use is modified from the sample program of HTS, and I tried the origin sample HTS, sample HRS, sample proximity, they all have the same problem, but it happen in HTS the most of the time. I even disable the reset function in the app_error_handler to avoid frequently no connection in the bonding process. The SDK is 6.0, control panel is 3.6.0. Has anyone have these problems before or is there anyone who can help me? Thank you!

Follow up: I change my SDK to 7.0,and the panel changed to 3.7.1, these kind of error was then largely eliminated but still there, sometimes happen. Always happened after long time running.

Update: I tried the control panel on android, and use the dongle to do the trace. Here is my wireshark tracking history, I will attach it here and it is for bonding process.bonding.pcapng

Anyone can help me?

Related