
Table of Contents
Multi-Tech Systems, Inc. IP Connectivity AT Commands for GPRS-F4 Wireless Modems (PN S000437E) 3
Table of Contents
Chapter 1 – Introduction .............................................................................................................................. 4
Acronyms and Abbreviations..................................................................................................................... 4
AT Command Syntax ................................................................................................................................ 5
Command Line .......................................................................................................................................... 5
Information Responses and Result Codes................................................................................................ 5
Principles ................................................................................................................................................... 5
Socket Identification .................................................................................................................................. 6
Getting Started .......................................................................................................................................... 6
Open the TCP/IP Stack ............................................................................................................................. 6
Chapter 2 – General Configuration AT Commands .................................................................................. 7
IP Stack Handling +WIPCFG .................................................................................................................... 7
Bearers Handling +WIPBR...................................................................................................................... 13
Chapter 3 – IP Protocol Services .............................................................................................................. 18
Service Creation +WIPCREATE ............................................................................................................. 18
Closing a Service +WIPCLOSE .............................................................................................................. 24
Service Option Handling +WIPOPT ........................................................................................................ 26
Chapter 4 – Data Exchange for Protocol Services.................................................................................. 30
File Exchange +WIPFILE ........................................................................................................................ 30
Socket Data Exchange +WIPDATA ........................................................................................................ 36
Chapter 5 – Ping Services ......................................................................................................................... 43
PING Command +WIPPING .................................................................................................................. 43
Chapter 6 – Application Examples............................................................................................................ 45
TCP Socket ............................................................................................................................................. 45
TCP Client Socket ................................................................................................................................... 47
UDP Socket ............................................................................................................................................. 49
PING........................................................................................................................................................ 51
FTP .......................................................................................................................................................... 52
HTTP ....................................................................................................................................................... 53
SMTP....................................................................................................................................................... 54
POP3 ....................................................................................................................................................... 55
Creating a TCP Server ............................................................................................................................ 56
Create UDP Sockets, TCP Clients, & TCP Servers................................................................................ 57
Change the MAX_SOCK_NUM Option Value......................................................................................... 60
Create UDP Sockets, TCP Clients, TCP Servers & 1 FTP, etc. Session ............................................... 62
Subscribe/Unsubscribe WIPSoft AT Commands .................................................................................... 66
Chapter 7 – Error Codes ............................................................................................................................ 67
Appendix A – GSM/GPRS +WIND Command........................................................................................... 69
General Indications +WIND................................................................................................................... 69
Index............................................................................................................................................................. 72