Dear all
I am now working on a project using CC2541.
It's like a passive sensor hub that gathers all sensor data and send it via BLE.
The reason it is called a passive device is that it only transmit data when I push a button on the device.
Once I push the button, CC2541 would wake up and start dumping data for 30 seconds.
Originally, I set the minimum and maximum connection interval to 20ms, and it works perfect.
Later on, I decide to add the connection compatibility with iOS devices.
So I changed the maximum connection interval to 40ms just to fit the regulations.
However, an unexpected problem happened.
My device is designed to work 10 meters from the receivers(could be PCs or iOS devices).
When the minimum and maximum interval are both 20ms, I can get 100% of the transmitted data.
And with the maximum interval is 40ms, I can only get 90% of the data.
The strange thing is that, I can get 100% of data by putting the devices with two configurations by putting them just by the receiver.
From my understanding, if the data lost problem is caused by the longer connection interval, it should happens no matter how far I put my device.
Could anyone help?
I used the BLE stack 1.2.1