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

d’\xfd\x1c\x00\x00\x01\xff\x00\x21\x39\x46\xd9\x08\x57\x62\x67\x0a\x40\x7a\xb5\x2e\x9e\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x4e\x90’
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