Hi guys,
I would like to learn more about what happens during a connection interval.
Some background information. My CC2540 has 2 main tasks. It reads 18 bytes of data from sensors every 50ms and sends a notification, and it reads the ADC every minute and sends a notification. So, my main problem is what to set the connection interval to so as to minimize power consumption? I suppose I can calculate this from the questions below:
1. How many notifications can be sent out per connection interval?
2. Can I perform a normal read/write attribute together with a notification in the same connection interval?
3. Am I right to say that the GAPRole_SendUpdateParam( uint16 connInterval, uint16 latency, uint16 connTimeout, uint8 handleFailure); function is used to dynamically change the connection interval by the peripheral? What am I supposed to put into the handleFailure parameter?