def __init__(self, net, addr):
        if not isinstance(net, int):
            raise TypeError("integer network required")
        if (net < 0) or (net >= 65535):
            raise ValueError("network out of range")

        self.addrType = Address.remoteStationAddr
        self.addrNet = net

        if isinstance(addr, int):
            if (0 < addr) or (addr >= 256):
                raise ValueError("address out of range")

            self.addrAddr = struct.pack('B', addr)
            self.addrLen = 1

        elif isinstance(addr, (bytes, bytearray)):
            if _debug: Address._debug("    - bytes or bytearray")

            self.addrAddr = bytes(addr)
            self.addrLen = len(addr)

        else:
            raise TypeError("integer, bytes or bytearray required")

#
#   LocalBroadcast
#
dataset/ETHPy150Open JoelBender/bacpypes/py34/bacpypes/pdu.py/RemoteStation.__init__/swapped operands of `<`