Home | History | Annotate | Download | only in src

Lines Matching defs:command

96   BT_HDR *command;
170 // The host is only allowed to send at most one command initially,
171 // as per the Bluetooth spec, Volume 2, Part E, 4.4 (Command Flow Control)
172 // This value can change when you get a command complete or command status event.
202 LOG_ERROR("%s unable to create command response timer.", __func__);
208 LOG_ERROR("%s unable to create pending command queue.", __func__);
344 BT_HDR *command,
354 uint8_t *stream = command->data + command->offset;
358 wait_entry->command = command;
361 // Store the command message type in the event field
363 command->event = MSG_STACK_TO_HC_HCI_CMD;
368 static future_t *transmit_command_futured(BT_HDR *command) {
374 uint8_t *stream = command->data + command->offset;
377 wait_entry->command = command;
379 // Store the command message type in the event field
381 command->event = MSG_STACK_TO_HC_HCI_CMD;
391 LOG_WARN("%s legacy transmit of command. Use transmit_command instead.", __func__);
452 // Command/packet transmitting functions
466 packet_fragmenter->fragment_and_dispatch(wait_entry->command);
474 // The queue may be the command queue or the packet queue, we don't care
514 // We shouldn't try to recover the stack from this command timeout.
516 LOG_ERROR("%s hci layer timeout waiting for response to a command. opcode: 0x%x", __func__, wait_entry->opcode);
648 LOG_WARN("%s command complete event with no matching command. opcode: 0x%x.", __func__, opcode);
661 // If a command generates a command status event, it won't be getting a command complete event
665 LOG_WARN("%s command status event with no matching command. opcode: 0x%x", __func__, opcode);
667 wait_entry->status_callback(status, wait_entry->command, wait_entry->context);
681 // If it has a callback, it's responsible for freeing the command
683 buffer_allocator->free(wait_entry->command);