Lines Matching full:command
58 uint32_t command = ntohl(data[0]);
59 if ((command & 0xffff0000) != 0x43210000) {
60 LOGE("Wrong header %x %x", command, data[0]);
63 command = (command & 0xffff) | 0x12340000; // convert to id
64 if (command < ECmdStart) {
65 LOGE("Wrong header %x %x", command, data[0]);
68 if (command > (ECmdLast - 1)) {
69 LOGE("Wrong header %x %x", command, data[0]);
72 id = (CommandId)command;
73 LOGD("received reply with command %x", command);
77 bool AudioProtocol::checkHeaderId(const uint32_t* data, uint32_t command)
79 if (ntohl(data[0]) != ((command & 0xffff) | 0x43210000)) {