#MAVLinkParser MAVLinkParser is an open-source library to decode MAVLink raw messages.
To install the library, copy MAVLinkParser to libraries folder and select the library and dependencies (PRAWUtils and CRC_16_CCITT) from Sketch > Import Library in Arduino IDE.
To decode a message, create a MAVLinkParser instace and call function MAVLinkParser:parseChar.
MAVLinkParser uavLink();
char * msg = NULL;
uint16_t len = 0;
uavLink.parseChar('a', &msg, &len);
if (msg != NULL) {
uint8_t message_id = utils_praw_uint8((uint8_t *)msg, 5);
free(msg);
msg = NULL;
len = 0;
}