Trying to convert MAC
into bytearray
format.
Tried to convert into utf-8
but didn't get the output as expected.
values=("002A2C2D123A")
update_mac1=bytearray.fromhex(values)
It does not like byte number 5 which is 12 this is what my output looks like
bytearray(b'\x00*,-\x12:')
i'm looking for something like:
(b'\x00\x2A\x2C\x2D\x12\x3A