1
0
mirror of https://github.com/peterantypas/maiana.git synced 2025-05-15 23:10:11 -07:00
2021-09-09 08:14:28 -07:00

26 lines
347 B
C++

/*
* DebugMsgHandler.cpp
*
* Created on: Jul 8, 2021
* Author: peter
*/
#include "DebugMsgHandler.hpp"
#include <stdio.h>
void DebugMsgHandler::HandleMsg(const tN2kMsg &msg)
{
printf("Got PGN %d:\r\n", msg.PGN);
for ( int i = 0; i < msg.DataLen; ++i )
{
printf("%.2x ", msg.Data[i]);
}
printf("\r\n\r\n");
}