I have a list of bytes i created by using struct.pack() in python to pack integers and floats from a python dictionary into bytes:
current_list: [b'\xd3\xb6\x00\x00', b'\x80\x82efre\x84\x00', b'\x01', b'\x03', b'\x00\x00', b'\x0b\x04', b'\xd8\xff']
I now want to create an array of all the individual bytes like so:
list_i_want: [b'\xd3', b'\xb6', b'\x00', b'\x00', b'\x80', b'\x82', b'e', b'f', b'r', b'e', b'\x84', b'\x00', b'\x01', b'\x03', b'\x00', b'\x00', b'\x0b', b'\x04', b'\xd8', b'\xff']
I cannot seem to find a good way to split these and I need to split them to send them to a microcontroller as an array of individual bytes.