Hi,
I need to update the Min and Max connection parameters run time. Is it possible to do so? Also can i update the Min and Max connection parameters through an iOS app for my peripheral device. Is it possible?
Hi SumitS,
Could you let me know more on what you want to do with Min and Max connection parameter ? Note that there are 2 places we use Min and Max connection parameters in the GAP Peripheral Preferred Connection Parameters (sd_ble_gap_ppcp_set) and when we request connection parameter update from peripheral (sd_ble_gap_conn_param_update).
If you want to send the parameters via iOS app, you may need to create your own proprietary service and characteristic for the purpose.
Hi SumitS,
Could you let me know more on what you want to do with Min and Max connection parameter ? Note that there are 2 places we use Min and Max connection parameters in the GAP Peripheral Preferred Connection Parameters (sd_ble_gap_ppcp_set) and when we request connection parameter update from peripheral (sd_ble_gap_conn_param_update).
If you want to send the parameters via iOS app, you may need to create your own proprietary service and characteristic for the purpose.
Hi,
I am developing an application on nrf51822 which will run on a device operated on battery. This device will act as an peripheral and will communicate with an iOS app which will act as an central. Hence to increase the battery life the Min & Max Connection Parameters are set to 1s and 1.9s respectively and Slave Latency is 0. There is a scenario in our application where i need to send 1000 packets in say about 5 to 6 sec. Hence, if i go with the above parameters i wont be able to achieve this. Hence i wanted to know if i can change the Min and Max connection parameters during run time programmatically or can i configure the same on the peripheral side using iOS app which will act as central.
Hi SumitS,
Yes, you can request a connection parameter update in runtime. Please have a look at this API: sd_ble_gap_conn_param_update(). With this command you can request the central to update the connection parameter. Note that it's only a request, the central can accept it or refuse it. Don't try to get the minimum and maximum connection interval to too low, most of the central will reject if the connection interval requested is lower than ~20/30ms.