Lines Matching full:command

43 /* OS event to enqueue command */
73 * Returns the number of command packets that the host is allowed to send
108 * Created and sends a command complete event with the no-op opcode to the
122 /* Create a command complete event with a NO-OP opcode */ in ble_ll_hci_send_noop()
139 * LE encrypt command
170 * LE rand command
280 * Called when the LL controller receives a set LE event mask command.
282 * Context: Link Layer task (HCI command parser)
284 * @param cmdbuf Pointer to command buf.
297 * HCI read buffer size command. Returns the ACL data packet length and
320 * @param cmdbuf Pointer to command buffer where phy masks are located
396 * HCI write suggested default data length command.
398 * This command is used by the host to change the initial max tx octets/time
402 * default data length command). The spec allows for the controller to
445 * HCI read suggested default data length command. Returns the controllers
464 * HCI read maximum data length command. Returns the controllers max supported
486 * HCI read local supported features command. Returns the features
506 * HCI read local supported states command. Returns the states
590 * Called to determine if the reply to the command should be a command complete
591 * event or a command status event.
595 * @return int 0: return command complete; 1: return command status event
621 /** HCI LE read maximum advertising data length command. Returns the controllers
664 * advertising command and then issues an extended advertising command, or in ble_ll_is_valid_adv_mode()
665 * has ever issued an extended advertising command and then issues a legacy in ble_ll_is_valid_adv_mode()
666 * advertising command, the Controller shall return the error code Command in ble_ll_is_valid_adv_mode()
721 * Process a LE command sent from the host to the controller. The HCI command
722 * has a 3 byte command header followed by data. The header is:
724 * -> Length of parameters (1 byte; does include command header bytes).
726 * @param cmdbuf Pointer to command buffer. Points to start of command header.
727 * @param ocf Opcode command field.
730 * @return int This function returns a BLE error code. If a command status
731 * event should be returned as opposed to command complete,
745 /* Get length from command */ in ble_ll_hci_le_cmd_proc()
756 * The command response pointer points into the same buffer as the in ble_ll_hci_le_cmd_proc()
757 * command data itself. That is fine, as each command reads all the data in ble_ll_hci_le_cmd_proc()
762 /* Move past HCI command header */ in ble_ll_hci_le_cmd_proc()
1109 * that the reply to this command should be command status (as opposed to in ble_ll_hci_le_cmd_proc()
1110 * command complete). in ble_ll_hci_le_cmd_proc()
1112 * For unknown HCI command let us return always command status as per in ble_ll_hci_le_cmd_proc()
1123 * Process a link control command sent from the host to the controller. The HCI
1124 * command has a 3 byte command header followed by data. The header is:
1126 * -> Length of parameters (1 byte; does include command header bytes).
1128 * @param cmdbuf Pointer to command buffer. Points to start of command header.
1129 * @param ocf Opcode command field.
1132 * @return int This function returns a BLE error code. If a command status
1133 * event should be returned as opposed to command complete,
1145 /* Get length from command */ in ble_ll_hci_link_ctrl_cmd_proc()
1148 /* Move past HCI command header */ in ble_ll_hci_link_ctrl_cmd_proc()
1156 /* Send command status instead of command complete */ in ble_ll_hci_link_ctrl_cmd_proc()
1164 /* Send command status instead of command complete */ in ble_ll_hci_link_ctrl_cmd_proc()
1188 /* Get length from command */ in ble_ll_hci_ctlr_bb_cmd_proc()
1191 /* Move past HCI command header */ in ble_ll_hci_ctlr_bb_cmd_proc()
1241 /* Get length from command */ in ble_ll_hci_info_params_cmd_proc()
1245 * The command response pointer points into the same buffer as the in ble_ll_hci_info_params_cmd_proc()
1246 * command data itself. That is fine, as each command reads all the data in ble_ll_hci_info_params_cmd_proc()
1251 /* Move past HCI command header */ in ble_ll_hci_info_params_cmd_proc()
1293 /* Get length from command */ in ble_ll_hci_status_params_cmd_proc()
1297 * The command response pointer points into the same buffer as the in ble_ll_hci_status_params_cmd_proc()
1298 * command data itself. That is fine, as each command reads all the data in ble_ll_hci_status_params_cmd_proc()
1303 /* Move past HCI command header */ in ble_ll_hci_status_params_cmd_proc()
1321 * Called to process an HCI command from the host.
1323 * @param ev Pointer to os event containing a pointer to command buffer
1336 /* The command buffer is the event argument */ in ble_ll_hci_cmd_proc()
1340 /* Get the opcode from the command buffer */ in ble_ll_hci_cmd_proc()
1373 /* Create a command complete event with status from command */ in ble_ll_hci_cmd_proc()
1380 /* Create a command status event */ in ble_ll_hci_cmd_proc()
1399 /* Call post callback if set by command handler */ in ble_ll_hci_cmd_proc()
1406 * Sends an HCI command to the controller. On success, the supplied buffer is
1410 * @param cmd A flat buffer containing the HCI command to
1445 * NOTE: This function is called by the HCI RESET command so if any code
1446 * is added here it must be OK to be executed when the reset command is used.
1451 /* Set event callback for command processing */ in ble_ll_hci_init()