Hi,
I am experiencing the following issue:
When using iphone app to connect to CC2541 running Simple BLE Peripheral project, sometimes the app cannot connect to the device. The app can always discover CC2541 as expected, but just cannot make a connection successfully.
So far I have tried two iphone apps: (1) a free app called LightBlue, and (2) an app built by myself. Their behaviors are basically the same.
The issue does not show up every time. To reproduce it, I use the iphone app to connect to the device and disconnect repeatedly (maybe around 20 times). Once the issue shows up, it can consistently be reproduced, until I power off iphone, reboot it and try again.
Below is the sniffer trace. The issue always happens when master (iphone) and slave (CC2541) exchange their Link Layer Version. Iphone always nack the LL_Version_Ind packets sent from CC2541 (as you can see, the NESN bits in the packets sent from iphone are always the same), so CC2541 keeps re-sending the same packet.
I wonder if anyone is aware of the issue? If yes, is it possible to work around?
Thank you for the response.
Regards,
Jack