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.
That's my complete setup:
I have a Iphone X and a Iphone 8
I have a IOS App that is supposed to connect to a CC2640 board, discover the services and write in a characteristic.
My CC2640 application was created with the TI plugin inside Bluetooth Developer Studio.
My problem is:
* When I use the CC264 with only the bluetooth tasks running, I can discover and write in characteristics using the Iphone X and 8.
* Whenever I use the same custom profile but now with another SYS/BIOS task (It receives messages through a MailBox from the Project_Zero_task as soon as a characteristic is written), I can do everything with the Iphone 8 but I cant discover any services when using my Iphone X.
Has someone faced alike problem?
I did sniffer and it is advertising. The last message my peripheral received from the Iphone X was a request for a MTU exchange and my Iphone didn't receive anything. My mtu size is 65.
I'm using connection parameters such as slave latency, advertise interval, min and max interval and connection timeout as depicted in the Bluetooth low energy section from `Accessory Design Guidelines for Apple Devices` https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf.
I'm using 2 apps. The LightBlue and a custom App. No matter which app I use, the problem is the same (in light blue I get stuck in the interrogating part, and in my App I get stuck at discovering the services).
A curious event happens when: Try to connect with the IphoneX, with NO success. Following that, I connect using my Iphone 8, with success and for a short period of time, I can connect using the Iphone X.
Hi Leoni,
Can you post the sniffer log with the Service discovery request packet sent from the master?
Here are the shiffer logs for a bugged connection and for a healthy connection.
Healthy: healthy conection.psd