Doubt on automatically detecting corresponding message ID fields and fieldvalues when data is given in the format of mavlink 2 frame packet format

this is the data which i gave in one text file but the code written is not able to automatically detect the message ID and their respective fields