iPocket232 User Guide Appendix F: MCC
23-CML000293 iPocket232 Inc. F-11
The transfer is considered complete when there is no data from the terminal for the number of seconds
specified in register S14, or the DTR line is dropped (hung-up).
Upon completion, an OK result is sent back to the DTE, and the iPocket232 modem returns to command
mode. Note that &D must be set to 1, 2, or 3 for dropping DTR to function correctly.
If there were any errors during the transfer the iPocket232 modem sends an ERROR message.
Any characters received on the serial port before the CONNECT message will terminate the connection
attempt (just as they would on a standard ATD command).
Result Codes
The CONNECT result code appears when the FTP/HTTP session is established and the iPocket232
modem is ready to move data. Possible result codes are described in the following table.
Table F.6: FTP Result Codes
FTP/HTTP session established.
Connection is broken or closed
No route exists to the requested host
Host ignored or refused the connection
Bad URL, user, password, etc.
Tips
• If you put a “1” after the +P, but before the URL string, the connection will be "verbose", and all
connection messages from the server will also appear on the serial port. Useful for troubleshooting.
• We recommend placing "&H1" between the "AT" and the "+P" or "+G" to make sure that hardware
handshaking is enabled before sending data. This option can also be explicitly set in the iPocket232
configuration.