Home | History | Annotate | Download | only in tools

Lines Matching refs:opcode

66 static int read_command_complete(int fd, unsigned short opcode, unsigned char len) {
85 /* cmd-complete event: opcode */
86 FAILIF(resp.cmd_complete.opcode != (uint16_t)opcode,
87 "Error in response: opcode is 0x%04x, not 0x%04x!",
88 resp.cmd_complete.opcode, opcode);
106 cmd.hci_hdr.opcode = 0xff36;
122 if (read_command_complete(fd, cmd.hci_hdr.opcode, cmd.hci_hdr.plen) < 0) {
156 "Could not read %d bytes of data for command with opcode %04x!\n",
158 cmd->opcode);
164 cmd->opcode,
180 cmd->opcode,
228 /* Wait for command complete event for our Opcode */