@staticmethod<EOL><INDENT>def __decode_message(data_str):<DEDENT>
structs = {<NUM_LIT>: b"<STR_LIT>",<EOL><NUM_LIT>: b"<STR_LIT>",<EOL><NUM_LIT>: b"<STR_LIT>",<EOL><NUM_LIT>: b"<STR_LIT>",<EOL><NUM_LIT>: b"<STR_LIT>",<EOL><NUM_LIT>: b"<STR_LIT>",<EOL><NUM_LIT>: b"<STR_LIT>"}<EOL>cmd_code = byte2int(data_str[<NUM_LIT:2>])<EOL>return struct.unpack(structs[cmd_code], data_str)<EOL>
Unpacks data packet into proper data values
:param data_str: 26 byte string of packet data
:return: tuple packed with valid data in string