Searched refs:preamble_size (Results 1 – 2 of 2) sorted by relevance
59 static const size_t preamble_size[static_cast<size_t>(hci::PacketType::EVENT) + 1] = { in OnDataReady() local70 …read(fd, preamble_ + bytes_read_, preamble_size[static_cast<uint8_t>(packet_type)] - bytes_read_)); in OnDataReady()83 if (bytes_read_ == preamble_size[static_cast<uint8_t>(packet_type)]) { in OnDataReady()85 packet_.resize(preamble_size[static_cast<uint8_t>(packet_type)] + packet_length); in OnDataReady()86 memcpy(packet_.data(), preamble_, preamble_size[static_cast<uint8_t>(packet_type)]); in OnDataReady()104 …read(fd, packet_.data() + preamble_size[static_cast<uint8_t>(packet_type)] + bytes_read_, bytes_re… in OnDataReady()
122 static const size_t preamble_size[static_cast<size_t>(hci::PacketType::EVENT) + 1] = { in OnDataReady() local132 size_t preamble_bytes = preamble_size[static_cast<size_t>(hci_packet_type_)]; in OnDataReady()166 size_t preamble_bytes = preamble_size[static_cast<size_t>(hci_packet_type_)]; in OnDataReady()