When examining the power consumption of the CC2640 on a scope, which connected to a device, I noticed it had a rather short interval between maintaining the connection.
How do I go about lengthening this interval to say, 300ms?
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.
The connection interval(parameters) is controlled by the master device(Samsung Galaxy S4 in your case). By default if you use simple_peripheral, the slave will accept connection interval within the following 2 parameters defiines.
// Minimum connection interval (units of 1.25ms, 80=100ms) if automatic // parameter update request is enabled #define DEFAULT_DESIRED_MIN_CONN_INTERVAL 80 // Maximum connection interval (units of 1.25ms, 800=1000ms) if automatic // parameter update request is enabled #define DEFAULT_DESIRED_MAX_CONN_INTERVAL 800
You will have to checkout android forum to see how you can send desired connection parameter from your device. Slave device does not have control to this.