nrfxlib API 0.1.0
|
uint8_t sdc_hci_cmd_vs_peripheral_latency_mode_set | ( | const sdc_hci_cmd_vs_peripheral_latency_mode_set_t * | p_params | ) |
#include <softdevice_controller/include/sdc_hci_vs.h>
Set peripheral latency mode.
This vendor specific command is used to disable/enable peripheral latency. Three modes of disable/enable are supported.
In enable mode, the peripheral will wake up every time it has data to send, and/or every peripheral latency number of connection events.
In disable mode, the peripheral will wake up on every connection event regardless of the requested peripheral latency. This option consumes the most power.
In wait_for_ack mode, the peripheral will wake up on every connection event if it has not received an ACK from the master for at least peripheral latency events. This configuration may increase the power consumption in environments with a lot of radio activity.
Event(s) generated (unless masked away): When the command has completed, an HCI_Command_Complete event shall be generated.
[in] | p_params | Input parameters. |
0 | if success. |