def recvfrom(self):
        if self.state.SHUTDOWN:
            raise Error(errno.EBADF)
        try: pdu = super(LogicalDataLink, self).recv()
        except __HOLE__: raise Error(errno.EPIPE)
        return (pdu.sdu, pdu.ssap) if pdu else (None, None)
dataset/ETHPy150Open javgh/greenaddress-pos-tools/nfc/llcp/tco.py/LogicalDataLink.recvfrom