-
Notifications
You must be signed in to change notification settings - Fork 114
debugprintpacket
Ken Sharp edited this page Dec 8, 2023
·
1 revision
Prints a formatted LINX command or response packet.
DebugPrintPacket(unsigned char direction, const unsigned char* packetBuffer);
direction
Packet type (command or response) to determine formatting:
- 0 - TX - Response packet
- 1 - RX - Command packet
packetBuffer
A pointer to the packet buffer.
- If direction=TX this should be a pointer to sendBuffer (the outgoing response buffer).
- If direction=RX this should be a pointer to recBuffer (the incoming command buffer).
void