Manual
iPocket232 User Guide Appendix F: MCC
23-CML000293 Precidia Technologies Inc. F-11
When the DTE device gets a CONNECT result, it streams data to the serial port
and the iPocket232 modem will send that data as an FTP or HTTP file transfer to
the server.
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.
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.
Table F.6: FTP Result Codes
Result Code Meaning
CONNECT
FTP/HTTP session established.
NO CARRIER
Connection is broken or closed
NO DIALTONE
No route exists to the requested host
NO ANSWER
Host ignored or refused the connection
ERROR
Bad URL, user, password, etc.