User's Manual
Table Of Contents
- AT+i Command Set
- Scope
- AT+i Command Guidelines
- AT+i Command Format
- Escape Code Sequence
- Socket Command Abort
- Flexible Host and Modem Interfaces
- Auto Baud Rate Detection
- High Speed USART
- Reset via Serial Link
- Entering Rescue Mode during Runtime
- Internet Session Hang-Up Procedure (Modem Only)
- Modem Startup
- Analog-to-Digital Converter
- iChip Readiness Indication
- Programming iChip’s Serial Number into Flash Memory
- Programming a Unique ID String into Flash Memory
- General Format
- AT+i Result Code Summary
- Report Status
- Connection
- E-mail Send Commands
- E-Mail Retrieve
- HTTP Client Interface
- SerialNET Mode Initiation
- Web Server Interface
- File Transfer Protocol (FTP)
- +i[@]FOPN — FTP Open Session
- +iFDL — FTP Directory Listing
- +iFDNL — FTP Directory Names Listing
- +iFMKD — FTP Make Directory
- +iFCWD — FTP Change Working Directory
- +iFSZ — FTP File Size
- +iFRCV — FTP Receive File
- +iFSTO — FTP Open File for Storage
- +iFAPN — FTP Open File for Appending
- +iFSND — FTP Send File Data
- +iFCLF — FTP Close File
- +iFDEL — FTP Delete File
- +iFCLS — FTP Close Session
- Telnet Client
- Direct Socket Interface
- +iSTCP — Open and Connect A TCP Socket
- +iSUDP — Open A Connectionless UDP Socket
- +iLTCP — Open A TCP Listening Socket
- +iLSST — Get A Listening Socket’s Active Connection Status
- +iSST — Get A Single Socket Status Report
- +iSCS — Get A Socket Connection Status Report
- +iSSND[%] — Send A Byte Stream to A Socket
- +iSRCV — Receive A Byte Stream from A Socket’s Input Buffer
- +iGPNM — Get Peer Name for A Specified Socket
- +iSDMP — Dump Socket Buffer
- +iSFSH[%] — Flush Socket’s Outbound Data
- +iSCLS — Close Socket
- Special Modem Commands
- Wireless LAN Mode
- IP Registration
- DHCP Client
- DHCP Server
- iRouter Mode
- Ad-Hoc Networks
- Secure Socket Protocol
- Network Time Client
- MIME Encapsulated E-Mail Messages
- Flow Control
- Remote Firmware Update
- iChip Parameter Update
- iChip Embedded Web Server
- Introduction
- Features
- Web Server Modes
- The Application Website
- Parameter Tags
- iChip Configuration Mode
- Host Interaction Mode
- Website Creation, Packing, and Uploading
- Manipulating Variables in the Application Website
- Security and Restrictions
- Parameter Update Error Handling
- File Types Supported by iChip’s Web Server
- iChip RAS Server
- SerialNET Theory of Operation
- File Transfer Protocol (FTP) Theory of Operation
- Telnet Client Operation
- Secure Socket Protocol Theory of Operation
- Remote AT+i Service
- Nonvolatile Parameter Database
- Parameter Descriptions
- +iFD — Restore All Parameters to Factory Defaults
- Operational Parameters
- +iXRC — Extended Result Code
- +iDMD — Modem Dial Mode
- +iMIS — Modem Initialization String
- +iMTYP — Set Type of Modem Connected to iChip
- +iWTC — Wait Time Constant
- +iTTO — TCP Timeout
- +iPGT — PING Timeout
- +iMPS — Max PPP Packet Size
- +iTTR — TCP Retransmit Timeout
- +iBDRF — Define A Fixed Baud Rate on Host Connection
- +iBDRM — Define A Fixed Baud Rate on iChip( Modem Connection
- +iBDRD — Baud Rate Divider
- +iAWS — Activate WEB Server Automatically
- +iLATI — TCP/IP Listening Socket to Service Remote AT+i Commands
- +iFLW — Set Flow Control Mode
- +iCPF — Active Communications Platform
- +iPSE — Set Power Save Mode
- +iSDM — Service Disabling Mode
- +iDF — IP Protocol ‘Don’t Fragment’ Bit Value
- +iCKSM — Checksum Mode
- +iHIF — Host Interface
- +iMIF — Modem Interface
- +iADCL — ADC Level
- +iADCD — ADC Delta
- +iADCT — ADC Polling Time
- +iADCP — ADC GPIO Pin
- +iRRA — iChip Readiness Report Activation
- +iRRHW — iChip Readiness Hardware Pin
- ISP Connection Parameters
- Server Profile Parameters
- +iLVS — ‘Leave on Server’ Flag
- +iDNSn — Define Domain Name Server IP Address
- +iSMTP — Define SMTP Server Name
- +iSMA — SMTP Authentication Method
- +iSMU — Define SMTP Login User Name
- +iSMP — Define SMTP Login Password
- +iPOP3 — Define POP3 Server Name
- +iMBX — Define POP3 Mailbox Name
- +iMPWD — Define POP3 Mailbox Password
- +iNTSn — Define Network Time Server
- +NTOD — Define Network Time-of-Day Activation Flag
- +iGMTO — Define Greenwich Mean Time Offset
- +iDSTD — Define Daylight Savings Transition Rule
- +iPDSn — Define PING Destination Server
- +iPFR — PING Destination Server Polling Frequency
- +iUFn — User Fields and Macro Substitution
- Email Format Parameters
- +iXFH — Transfer Headers Flag
- +iHDL — Limit Number of Header Lines
- +iFLS — Define Filter String
- +iDELF — Email Delete Filter String
- +iSBJ — Email Subject Field
- +iTOA — Define Primary Addressee
- +iTO — Email ‘To’ Description/Name
- +iREA — Return Email Address
- +iFRM — Email ‘From’ Description/Name
- +iCCn — Define Alternate Addressee
- +iMT — Media Type Value
- +iMST — Media Subtype String
- +iFN — Attachment File Name
- HTTP Parameters
- RAS Server Parameters
- LAN Parameters
- Wireless LAN Parameters
- +iWLCH — Wireless LAN Communication Channel
- +iWLSI — Wireless LAN Service Set Identifier
- +iWLWM — Wireless LAN WEP Mode
- +iWLKI — Wireless LAN Transmission WEP Key Index
- +iWLKn — Wireless LAN WEP Key Array
- +iWLPS — Wireless LAN Power Save
- +iWLPP — Personal Shared Key Pass-Phrase
- +iWROM — Enable Roaming in WiFi
- +iWPSI — Periodic WiFi Scan Interval
- +iWSRL — SNR Low Threshold
- +iWSRH — SNR High Threshold
- +iWSIn — Wireless LAN Service Set Identifier Array
- +iWPPn — Pre-Shared Key Passphrase Array
- +iWKYn — Wireless LAN WEP Key Array
- +iWSTn — Wireless LAN Security Type Array
- +iWSEC — Wireless LAN WPA Security
- IP Registration Parameters
- SerialNET Mode Parameters
- +iHSRV | +iHSRn — Host Server Name/IP
- +iHSS — Assign Special Characters to Hosts
- +iDSTR — Define Disconnection String for SerialNET Mode
- +iLPRT — SerialNET Device Listening Port
- +iMBTB — Max Bytes To Buffer
- +iMTTF — Max Timeout to Socket Flush
- +iFCHR — Flush Character
- +iMCBF — Maximum Characters before Socket Flush
- +iIATO — Inactivity Timeout
- +iSNSI — SerialNET Device Serial Interface
- +iSTYP — SerialNET Device Socket Type
- +iSNRD — SerialNET Device Re-Initialization Delay
- +iSPN — SerialNET Server Phone Number
- +iSDT — SerialNET Dialup Timeout
- +iSWT — SerialNET Wake-Up Timeout
- +iPTD — SerialNET Packets to Discard
- Remote Firmware Update Parameters
- Remote Parameter Update
- Note: This default value is shipped from the factory. The AT+iFD command does not restore RPG to this value.
- Appendix A
- Appendix B
- Appendix C
- Index
Wireless LAN Mode
AT+i Programmer‘s Manual Version 8.32 15-9
15.8 Roaming Mode
When set to operate in Roaming mode, iChip can roam seamlessly among Access Points
(APs) sharing the same SSID and the same security configuration without interrupting its
IP connectivity. iChip also has a monitoring mechanism that is sensitive to drops in AP
signal strength. When iChip detects such a drop, it automatically starts searching for APs
in its vicinity that have a stronger signal, while remaining connected to the current AP.
The following parameters are required to set iChip to Roaming mode:
WROM — Enables Roaming mode.
WPSI — Sets the time interval between consecutive scans that iChip performs for
APs in its vicinity.
WSRL — Sets a low SNR threshold for iChip in Roaming mode.
WSRH — Sets a high SNR threshold for iChip in Roaming mode.
In addition, two reports provide useful information pertaining to the Roaming feature:
AT+i!RP10 — Returns a report of the current WLAN connection.
AT+iRP20 — Returns a list of all APs and Ad-Hoc networks available in the vicinity.
15.8.1 iChip Behavior Following a Hardware or Software Reset
After power-up, hardware or software reset, iChip starts scanning for APs in its vicinity
at intervals set by the WPSI parameter. iChip reads the value set in the WLSI parameter
and acts accordingly:
If WLSI refers to an AP, iChip scans for all APs in its vicinity. iChip attempts to
connect to an AP whose SSID is listed first in the WSIn parameter. If several APs
having that same SSID exist, iChip attempts to connect to the one having the
strongest signal. If association succeeds, iChip stops scanning and activates its DHCP
client. It then monitors the SNR level of the AP it is associated with.
If WLSI refers to an Ad-Hoc network, iChip scans for all Ad-Hoc networks in its
vicinity. iChip attempts to join an Ad-Hoc network whose SSID is listed first in the
WSIn parameter. If no such network is found, iChip creates its own network and
stops scanning.
If WLSI is set to (*), iChip stops scanning and remains disconnected.
15.8.2 iChip Behavior when AP Signal Becomes Weak
When the beacon signal of the AP with which iChip is associated becomes weak (SNR
drops below the level set by the WSRL parameter), iChip starts its periodic scan for APs
having SNR above the threshold set by the WSRH parameter.
iChip attempts to connect to the AP that appears first on the list of SSIDs specified in the
WSIn parameter, while remaining connected to the current AP. If association with the
new AP fails, iChip continues scanning until it succeeds connecting to an AP with a
stronger signal.