Lines Matching refs:payload
32 const std::vector<uint8_t>& payload)
34 Encode({event_code, static_cast<uint8_t>(payload.size())}, payload);
48 std::vector<uint8_t> payload;
49 payload.reserve(payload_size);
50 payload.push_back(num_hci_command_packets);
51 payload.push_back(command_opcode);
52 payload.push_back(command_opcode >> 8);
53 VECTOR_COPY_TO_END(event_return_parameters, payload);
56 new EventPacket(HCI_COMMAND_COMPLETE_EVT, payload));
65 std::vector<uint8_t> payload;
66 payload.reserve(payload_size);
67 payload.push_back(status);
68 payload.push_back(num_hci_command_packets);
69 payload.push_back(command_opcode);
70 payload.push_back(command_opcode >> 8);
73 new EventPacket(HCI_COMMAND_STATUS_EVT, payload));
89 std::vector<uint8_t> payload;
90 payload.reserve(payload_size);
91 payload.push_back(num_responses);
92 VECTOR_COPY_TO_END(bd_addresses, payload);
93 VECTOR_COPY_TO_END(page_scan_repetition_mode, payload);
94 VECTOR_COPY_TO_END(page_scan_mode, payload);
95 VECTOR_COPY_TO_END(class_of_device, payload);
96 VECTOR_COPY_TO_END(clock_offset, payload);
99 new EventPacket(HCI_INQUIRY_RESULT_EVT, payload));
116 std::vector<uint8_t> payload;
117 payload.reserve(payload_size);
118 payload.push_back(1); // Each extended inquiry result contains one device.
119 VECTOR_COPY_TO_END(bd_address, payload);
120 VECTOR_COPY_TO_END(page_scan_repetition_mode, payload);
121 VECTOR_COPY_TO_END(page_scan_period_mode, payload);
122 VECTOR_COPY_TO_END(class_of_device, payload);
123 VECTOR_COPY_TO_END(clock_offset, payload);
124 VECTOR_COPY_TO_END(rssi, payload);
125 VECTOR_COPY_TO_END(extended_inquiry_response, payload);
128 new EventPacket(HCI_EXTENDED_INQUIRY_RESULT_EVT, payload));