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.

Continuous attribute write within short interval

Other Parts Discussed in Thread: CC2540

Hi,

I am using a CC2540 chip (in fact BLE112 turnkey system) as peripheral and iPhone 4S as initiator. In iPhone 4S, the default connection interval is 105ms. Once iPhone connects to my device and registers for notification (writes 1 to Character Config Write attribute), my device starts updating the attribute value (only one attribute having fixed length of 20). I am updating attribute value at ~40msec interval.

According to Bluetooth LE whatever I have gathered information, iPhone would always miss packets as within 105ms there would be multiple attribute update. But interestingly not a single packet, more precisely not a single byte is missed.

Can I have some explanation over this? 

Thanks.
 
  • More than one notification can be sent per connect interval. Each time you send a notification it will get buffered and sent at the next connect interval. With 40ms and 105ms you will get on average 2.5 notifications sent per connect interval. The maximum is 4 notifications per interval for 20byte attributes, hence no data loss...