background image

 

Research & Development

 

 

Page

 

19

 

of

 

19

 

Revision 1.3 

2002/7 From 3JTech

 

AT+iRMM

      Retrieve 

e-mail 

immediately 

I/OK 

 

 

 

 

 

 

Return Code 

 

Wait for dialing up to ISP and getting mails. 

 

The mail which you will get from serial port is : 

--------------------------------------------------------------------------------------------------- 

Received: from mail.a3j.com.tw for MyMailName 

with Cubic Circle's cucipop (v1.14 1997/04/11) Mon Jul    2 16:13:03 2001 

X-From_: MyMailName @mail.a3j.com.tw Mon Jul    2 16:04:29 2001 

Received: from mail.a3j.com.tw ([210.244.10.10]) 

        by mail.a3j.com.tw (8.9.3/8.9.3) with SMTP id QAA13604 

                for < MyMailName @mail.a3j.com.tw>; Mon, 2 Jul 2001 16:04:27 +0800 

(CST) 

Date: Mon, 2 Jul 2001 16:04:27 +0800 (CST) 

From:  < MyMailName @a3j.com.tw> 

Message-Id: <[email protected]

To: " iPP2-5600 Tester " <[email protected]

Subject: test for iPP2-5600 

 

This mail is sent by iPP2-5600 

The iPP2-5600 operates in two modes:   

Internet Mode and Standard Mode.   

In Internet Mode, the iPP2-5600   

sends and receive message via ISP whose   

details are configured into iPP2-5600.   

In Standard Mode, the iPP2-5600 work   

like a regular modem, bypassing the   

Internet engine circuitry. 

 

I/EOM - End of Message 

I/DONE 

 

3. Sending data by UDP 

AT+iSUDP:210.244.10.1,9999

 

 Try to connect to a UDP Server(210.244.10.1 

with port 9999) 

 

Summary of Contents for iPP2

Page 1: ...f 1 Revision 1 3 2002 7 From 3JTech 3JTech iPP2 TCP IP Modem Technical Documents Programming Guide Revision 1 2 3J Tech Co Ltd 342 Fushing N Rd 2F Taipei Taiwan A3J Eng Inc 15344 E Valley Blvd Suite C City of Industry CA 91746 USA ...

Page 2: ...JTech Revision History Revision Date Changes 1 1 2002 7 1031 iPP2 hardware documents by YLYang 1 1 2001 7 9 Programming Guide from MCTao 1 2 2002 5 27 WWJ Combine the above Related documents 1 AT Command Sets 2 AT i Commands Sets Programming Manual Version 7 1C ...

Page 3: ...00 Programmer s Guide 10 General Format 10 Direct Socket Interface 12 AT iSTCP Open and connect a TCP socket 12 AT iSSND Send a byte stream to a socket 12 AT iSRCV Receive a byte stream from a socket s input buffer 12 AT iSDMP Dump socket buffer 13 AT iSDMP Dump socket buffer 13 AT iSCLS Close Socket 13 Result Code Summary 14 Parameter Descriptions 14 Flow Control 16 Host iChip iChip LAN Software ...

Page 4: ...ities Internet Protocols and related formats PPP SMTP POP3 TCP IP LCP IPCP UDP DNS HTTP and PAP CHAP or Script authentication Binary Base64 encoding and MIME Supports data modems with throughput up to 56K bps Optional Ethernet interface Supports power saving standby and sleep modes Supports nonvolatile memory to store all functional and Internet related parameters Supports several layers of status...

Page 5: ...supported using AT i extension to the standard AT command set iChip supports standard baud rate configurations from 4800 bps up to 38400 bps on the host asynchronous serial communications bus As shipped iChip defaults to a preliminary connection rate of 9600 bps The default baud rate may be changed permanently by using the AT iBDR command In serial modem configurations a rate of 38400 bps is used ...

Page 6: ...ment Page 6 of 6 Revision 1 3 2002 7 From 3JTech Hardware installation iPP2 items in Modem Box z IPP2 Modem z Power RS 232 Cable z Telephone Cable Connector Honda 15pin Power Supply Power input Adaptor DC 5 9 5 V 350mA ...

Page 7: ...elated sessions are reduced to simple straightforward commands which are entirely dealt with within iChip s domain Through its host Application Program Interface iChip accepts commands formatted in AT i extension to the renowned Hayes AT command set Commands are available to store and manipulate functional and Internet related nonvolatile parameter data transmit and receive textual Email messages ...

Page 8: ...39 Post Office Protocol Version 3 POP3 RFC 1957 Some Observations on the Implementations of the Post Office Protocol POP3 RFC 822 Standard for the Format of ARPA Internet Text Messages RFC 2045 Multipurpose Internet Mail Extensions MIME Part One Format of Internet Message Bodies RFC 2046 Multipurpose Internet Mail Extensions MIME Part Two Media Types RFC 2047 Multipurpose Internet Mail Extensions ...

Page 9: ...il message bodies to allow multi part textual and non textual data to be represented and exchanged between internet mail servers PAP Password Authentication Protocol Used optionally by the PPP protocol to identify the user to the ISP CHAP Challenge Authentication Protocol Extends the PAP procedure by introducing advanced elements of security POP3 Post Office Protocol Version 3 Allows a workstation...

Page 10: ...ue is restored par Read parameter Parameter value is returned DOWN Close Connection Terminate an ongoing Internet session go offline and return to Command mode FD Factory Defaults Restores all parameters to Factory Defaults Email Send Immediate EMA text Send textual Email immediate Defines the textual contents of the Email body Following this command several text lines may be sent in sequence Send...

Page 11: ... Email from Mailbox RMM i Retrieve Email Retrieves all Email contents of the i th Email in the mailbox or the entire mailbox RMH i Retrieve Header Retrieves only the Email header part from the i th Email in the mailbox or the entire mailbox RML Retrieve Mail List Retrieves an indexed short form list of all qualifying messages in mailbox ...

Page 12: ...ort Description Opens a UDP User Datagram Protocol socket and sets the remote system s host port address lport Optional local UDP port to use Return Code I sock handle Upon successfully opening and connecting the UDP socket to the host port a socket handle is returned The socket handle sock handle is in the range 0 9 and is used to reference the socket in all following socket commands AT iSSND Sen...

Page 13: ...s the exact size of the binary data stream to follow If the socket input buffer is empty iChip returns I 0 In this case the and binary data stream are omitted sz is guaranteed to be equal or less than max when specified AT iSDMP Dump socket buffer Syntax AT iSDMP hn Description Dump all buffered data currently accumulated in a socket s input buffer The socket remains open Return Code I OK If hn is...

Page 14: ... Empty mailbox I ERROR Command Error Encountered Command Discarded Parameter Descriptions Parameter Default Description LVS 1 YES Leave mail on the Server 1 YES 0 NO XFH 1 Transfer Email headers 1 Enable 0 Disable FLS NULL Filter string must exist in message header to qualify for retrieve SBJ NULL Contents of the Email subject field TOA NULL Primary Addressee to where Email will be sent TO NULL Ad...

Page 15: ...o baud rate Sets to Auto Baud rate mode MT 4 application Media Type 0 Text 1 Image 2 Audio 3 Video 4 Application MST octet stream Media Subtype String For a list see Appendix A BDY NULL Textual body contents for MIME encapsulated Email messages FN NULL Attachment File Name inc extension If a file name is not defined the iChip will generate a unique filename ...

Page 16: ...Chip to accommodate for this imbalance is limited Therefore a flow control scheme is required to regulate host ÙiChip communications The FLW iChip iChip LAN parameter is set to reflect the preferred flow control mode The software driven flow control protocol is defined as follows 1 While the host is transferring the binary stream following the iEMB or iSSND prefixes the iChip iChip LAN will issue ...

Page 17: ...ters are defined as Control ASCII Dec ASCII Hex Mnemonic WAIT 22 0x16 SYN CONTINUE 24 0x18 CAN ERROR 5 0x5 ENQ In commands where software flow control is active it is recommended to first set the IChip to Echo Off mode This will ensure that echoed characters are not confused with flow control characters by the host ...

Page 18: ...iPP2 5600 operates in two modes Internet Mode and Standard Mode In Internet Mode the iPP2 5600 sends and receive message via ISP whose details are configured into iPP2 5600 In Standard Mode the iPP2 5600 work like a regular modem bypassing the Internet engine circuitry Period completes E Mail body I OK Return Code Wait for sending mail If succeed it will response I DONE disconnect ISP or I ONLINE ...

Page 19: ...or MyMailName mail a3j com tw Mon 2 Jul 2001 16 04 27 0800 CST Date Mon 2 Jul 2001 16 04 27 0800 CST From MyMailName a3j com tw Message Id 200107020804 QAA13604 mail a3j com tw To iPP2 5600 Tester Test mail a3j com tw Subject test for iPP2 5600 This mail is sent by iPP2 5600 The iPP2 5600 operates in two modes Internet Mode and Standard Mode In Internet Mode the iPP2 5600 sends and receive message...

Page 20: ... 20 Revision 1 3 2002 7 From 3JTech Wait for dial up ISP and connect to Internet I 001 Return Socket Handle 001 AT iSSND 001 5 hello Send hello 5 bytes to UDP server with Socket001 AT iSCLS 001 Close UDP Socket Connection 001 I DOWN ...

Page 21: ...Research Development Page 21 of 21 Revision 1 3 2002 7 From 3JTech PCB board dimension ...

Reviews: