Searched refs:return_packet (Results 1 – 1 of 1) sorted by relevance
855 rnb_err_t RNBRemote::GetPacketPayload(std::string &return_packet) { in GetPacketPayload() argument872 return_packet.swap(m_rx_packets.front()); in GetPacketPayload()885 switch (return_packet[0]) { in GetPacketPayload()894 for (size_t i = return_packet.size() - 2; i < return_packet.size(); ++i) { in GetPacketPayload()895 char checksum_char = tolower(return_packet[i]); in GetPacketPayload()902 __FUNCTION__, return_packet.c_str()); in GetPacketPayload()907 strtol(&return_packet[return_packet.size() - 2], NULL, 16); in GetPacketPayload()910 return_packet.erase(0, 1); // Strip the leading '$' in GetPacketPayload()911 return_packet.erase(return_packet.size() - 3); // Strip the #XX checksum in GetPacketPayload()916 for (std::string::iterator it = return_packet.begin(); in GetPacketPayload()[all …]