nrfxlib API 0.1.0
|
uint8_t sdc_hci_cmd_vs_set_role_priority | ( | const sdc_hci_cmd_vs_set_role_priority_t * | p_params | ) |
#include <softdevice_controller/include/sdc_hci_vs.h>
Set priority of a BT role.
This vendor specific command changes the scheduling priority of a role running in the controller.
Note that unless documented otherwise, any non-default priorities are not tested. This means that there is no guarantee that the controller works as intended when non-tested priorities are used. The default values for the priorities of the different roles are listed in https://docs.nordicsemi.com/bundle/ncs- latest/page/nrfxlib/softdevice_controller/doc/scheduling.html
After HCI Reset, priority is set to the default value.
If the handle is not associated with an instance of the role_id type, the error code Unknown Connection Identifier (0x02) is returned.
If the role_id is set to an invalid or unsupported role, the error code Invalid HCI Command Parameters (0x12) is returned.
If the priority is set to an invalid or unsupported value, the error code Invalid HCI Command Parameters (0x12) is returned.
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. |