Get an NDEF message from the server. Temporarily connects
        to the default SNEP server if the client is not yet connected.

        .. deprecated:: 0.13
           Use :meth:`get_records` or :meth:`get_octets`.

def get(self, request=None, timeout=1.0):
        """Get an NDEF message from the server. Temporarily connects
        to the default SNEP server if the client is not yet connected.

        .. deprecated:: 0.13
           Use :meth:`get_records` or :meth:`get_octets`.

        """
        if request is None:
            request = nfc.ndef.Message(nfc.ndef.Record())

        if not isinstance(request, nfc.ndef.Message):
            raise TypeError("request type must be nfc.ndef.Message")

        response_data = self._get(request, timeout)

        if response_data is not None:
            try:
                response = nfc.ndef.Message(response_data)
            except Exception as error:
                log.error(repr(error))
            else:
                return response