libgs.protocols.protocolbase.bytes2hex

libgs.protocols.protocolbase.bytes2hex(data)[source]

Helper function that takes a bytearray and converts it into a string of hexadecimal bytes AB-CD-00-01-… as is appropriate for the callback function