mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* redesigned TRACE packet structure
This commit is contained in:
parent
156741e563
commit
fe4fdeb236
9 changed files with 71 additions and 129 deletions
|
|
@ -140,8 +140,6 @@ void Dispatcher::checkRecv() {
|
|||
if (pkt->getPayloadType() == PAYLOAD_TYPE_PATH || pkt->getPayloadType() == PAYLOAD_TYPE_REQ
|
||||
|| pkt->getPayloadType() == PAYLOAD_TYPE_RESPONSE || pkt->getPayloadType() == PAYLOAD_TYPE_TXT_MSG) {
|
||||
Serial.printf(" [%02X -> %02X]\n", (uint32_t)pkt->payload[1], (uint32_t)pkt->payload[0]);
|
||||
} else if (pkt->getPayloadType() == PAYLOAD_TYPE_TRACE) {
|
||||
Serial.printf(" [%02X -> %02X]\n", (uint32_t)pkt->payload[2], (uint32_t)pkt->payload[1]);
|
||||
} else {
|
||||
Serial.printf("\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue