Multitech MMCModem GPRS (MTMMC-G) Manual de usuario Pagina 28

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 44
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 27
Chapter 4 – Data Exchange for Protocol Services
Multi-Tech Systems, Inc. IP Connectivity AT Commands for GPRS-F4 Wireless Modems (PN S000437C) 28
Socket Data Exchange +WIPDATA Continued
Leaving Continuous /Continuous Transparent Mode
The UART can be switched back to AT mode:
By sending “+++” with 1 second guard time before and after the sequence
By sending an AT+WIPDATA=<proto.,<index>,0 on another UART in AT mode
When the UART leaves data mode either because of “+++” escape sequence or because of an
unmapping done on another UART, the currently unsent data are sent as a single datagram.
Resetting TCP Sockets
A TCP socket is reset when the connection is aborted due to an error on the socket. When the
socket is reset, an [EXT] character is sent on the mapped UART to indicate the end of
communication. The mapped UART switches to AT mode and "CME ERROR:843" is displayed on
the UART.
Syntax: AT+WIPDATA=<protocol>,<idx>,<mode>
Read Command: AT+WIPDATA? Displays the current values.
Test Command: AT+WIPDATA=? Displays the available values.
Unsolicited Response: If <protocol>=1 +WIPDATA: <protocol>,<idx>,<datagram size>,<peer
IP>,<peer port>
If <protocol>=2 +WIPDATA: <protocol>,<idx>,<number of readable
bytes>
Caution: The value returned by <number of readable bytes> indicates that
there is some TCP data ready to be read but number of bytes
returned might not be reliable.
Parameters/Defined Values:
<protocol>: socket type
1 UDP
2 TCP client
<idx>: socket identifier
<mode>: mode of operation
0 unmap: switch the UART (mapped to continuous mode) to AT
mode.
1 continuous: switch the UART
to data mode.
2 continuous transparent: switch the UART
to data mode. In this
mode,[DLE]/[ETX] characters are considered as normal data and
not special characters.
Parameter Storage: None
Possible Errors:
“+CMEE” AT error code Description
851 bad state
837 bad protocol
843 connection reset by peer
Vista de pagina 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 43 44

Comentarios a estos manuales

Sin comentarios