def fmt_addr(addr):
    """ Format a Bluetooth hardware address as a hex string.
    
    Args:
        addr (bytes): raw Bluetooth address in dongle format.

    Returns:
        str. Address in xx:xx:xx:xx:xx:xx format.
    """
    return ':'.join(reversed(['{:02x}'.format(v) for v in bytearray(addr)]))