Multitech MTCMR-E1 Manual de usuario Pagina 112

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 119
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 111
Appendix B Response Messages Examples
112 Universal IP AT Commands Reference Guide
Download a file from an FTP Server: AT#FTPGET
Commands
Responses
AT#FTPSERV="ftp.domain.com"
Note: FTP server used
OK
AT#FTPUN="ftplogin"
Note: FTP username
OK
AT#FTPPW="ftppassword"
Note: FTP password
OK
AT#FTPGETFILENAME="upload.text"
Note: Name of the file stored in the FTP server
OK
AT#FTPGET
Note: FTP get
Ok_Info_DataBegin
Note: Switch from command to data mode. The data is sent
over the serial port. To end of data is notified by [ETX] sent
over the serial port. It switches from data to command mode.
Character is echoed.
OK
TCP Socket Response Messages
Open a TCP socket between machines. One machine acts as a caller (TCP client); the other acts as a listener (TCP
server). Both machines have to be connected to the Internet and set to the same TCP port.
Act as a TCP Server: AT#LTCPSTART
Commands
Responses
AT#TCPSERV=1,"255.255.255.255"
Note: No filter of the incoming TCP client
OK
AT#TCPPORT=1,"23"
Note: TCP port between the TCP client and the TCP server
must be the same
OK
AT#LTCPSTART=1
Note: Launch the listening mode; waiting for an incoming
TCP connection from a TCP client
OK
Ok_Info_WaitingForData
Note: Message sent over the serial port in case of
successful TCP socket opening (Telnet for example in the IP
address)
Data
Note: Data flow is bidirectional
Data
Note: Data flow is bidirectional
Note: The socket can be closed locally by the attached host
sending an [ETX] character (CTRL+C on the keyboard)
OK
Note: The socket can be closed by the remote
Ok_Info_SocketClosed
OK
Vista de pagina 111

Comentarios a estos manuales

Sin comentarios