Patched version of nrf51822 FOTA compatible driver, with GPTIO disabled, as it clashed with the mbed definitions...
Fork of nRF51822 by
Local connection latency option. More...
|Connection Handle. |
|Requested local connection latency. |
|Pointer to storage for the actual local connection latency (can be set to NULL to skip return value). |
Local connection latency option.
Local connection latency is a feature which enables the slave to improve current consumption by ignoring the slave latency set by the peer. The local connection latency can only be set to a multiple of the slave latency, and cannot be longer than half of the supervision timeout.
Used with sd_ble_opt_set to set the local connection latency. The sd_ble_opt_get is not supported for this option, but the actual local connection latency (unless set to NULL) is set as a return parameter when setting the option.
- The latency set will be truncated down to the closest slave latency event multiple, or the nearest multiple before half of the supervision timeout.
- The local connection latency is default off, and needs to be set for new connections and whenever the connection is updated.
- Return values:
NRF_SUCCESS Set successfully. NRF_ERROR_NOT_SUPPORTED Get is not supported. BLE_ERROR_INVALID_CONN_HANDLE Invalid connection handle parameter.
Generated on Mon Dec 17 2018 22:13:54 by 1.7.2