def packetToDict(pkt):
d = {<EOL>'<STR_LIT:id>': pkt[<NUM_LIT:4>],<EOL>'<STR_LIT>': (pkt[<NUM_LIT:10>] << <NUM_LIT:8>) + pkt[<NUM_LIT:9>],<EOL>'<STR_LIT>': pkt[<NUM_LIT:11>],<EOL>'<STR_LIT>': ErrorStatusMsg[pkt[<NUM_LIT:8>]],<EOL>}<EOL>return d<EOL>
Given a packet, this turns it into a dictionary ... is this useful?

in: packet, array of numbers
out: dictionary (key, value)