Sierra Wireless WISMO218 Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Networking Sierra Wireless WISMO218. WISMO228 TCP/IP AT Commands Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1 - WISMO228 TCP/IP AT Commands

WA_DEV_W228_UGD_002 Revision 003 January 29, 2010 WISMO228 WIreless Standard MOdem WISMO228 TCP/IP AT Commands Manual

Strona 2 - Important Notice

WA_DEV_W228_UGD_002 Rev 003 Page 10 of 78 WISMO228 TCP/IP AT Commands Manual Information Responses and Result Codes Responses start and end with

Strona 3 - Trademarks

WA_DEV_W228_UGD_002 Rev 003 Page 11 of 78 WISMO228 TCP/IP AT Commands Manual 2. Principles The AT+WIP AT Commands implements the TCP/IP protoc

Strona 4 - Contact Information

WA_DEV_W228_UGD_002 Rev 003 Page 12 of 78 WISMO228 TCP/IP AT Commands Manual Possible Protocols The possible protocols are:  1 = UDP  2 = TC

Strona 5 - Revision History

WA_DEV_W228_UGD_002 Rev 003 Page 13 of 78 WISMO228 TCP/IP AT Commands Manual 3. General Configuration IP Stack Handling +WIPCFG Description

Strona 6 - Contents

WA_DEV_W228_UGD_002 Rev 003 Page 14 of 78 WISMO228 TCP/IP AT Commands Manual  if <mode>=4 Action Command AT+WIPCFG=<mode>,<acti

Strona 7

WA_DEV_W228_UGD_002 Rev 003 Page 15 of 78 WISMO228 TCP/IP AT Commands Manual range: 0-255 (default value: 64) 1 WIP_NET_OPT_IP_TOS  Default TO

Strona 8

WA_DEV_W228_UGD_002 Rev 003 Page 16 of 78 WISMO228 TCP/IP AT Commands Manual of the network, then the datagram is divided into smaller

Strona 9 - 1. Introduction

WA_DEV_W228_UGD_002 Rev 003 Page 17 of 78 WISMO228 TCP/IP AT Commands Manual range: 0-100 (default value: 0) 13 

Strona 10

WA_DEV_W228_UGD_002 Rev 003 Page 18 of 78 WISMO228 TCP/IP AT Commands Manual Possible Errors 

Strona 11 - 2. Principles

WA_DEV_W228_UGD_002 Rev 003 Page 19 of 78 WISMO228 TCP/IP AT Commands Manual Examples Command Responses AT+WIPCFG=1 Note: Start IP Stack OK AT+W

Strona 12 - Number of Sockets

WA_DEV_W228_UGD_002 Rev 003 Page 2 of 78 WISMO228 TCP/IP AT Commands Manual Important Notice Due to the nature of wireless communications, tran

Strona 13 - 3. General Configuration

WA_DEV_W228_UGD_002 Rev 003 Page 20 of 78 WISMO228 TCP/IP AT Commands Manual Command Responses AT+WIPCFG=4,0 Note: Free IP configuration paramet

Strona 14

WA_DEV_W228_UGD_002 Rev 003 Page 21 of 78 WISMO228 TCP/IP AT Commands Manual Bearers Handling +WIPBR Description The +WIPBR command can be

Strona 15

WA_DEV_W228_UGD_002 Rev 003 Page 22 of 78 WISMO228 TCP/IP AT Commands Manual  if <cmdtype> = 6 Action Command AT+WIPBR=<cmdtype>,&

Strona 16

WA_DEV_W228_UGD_002 Rev 003 Page 23 of 78 WISMO228 TCP/IP AT Commands Manual max: 32 characters 1 WIP_BOPT_PASSWORD  password (string) max: 32

Strona 17 - Parameter Storage

WA_DEV_W228_UGD_002 Rev 003 Page 24 of 78 WISMO228 TCP/IP AT Commands Manual range: 0-1 <value>: range of values for different bearer opti

Strona 18 - Possible Errors

WA_DEV_W228_UGD_002 Rev 003 Page 25 of 78 WISMO228 TCP/IP AT Commands Manual Parameter Storage Several bearer configuration sets can be saved. C

Strona 19 - Examples

WA_DEV_W228_UGD_002 Rev 003 Page 26 of 78 WISMO228 TCP/IP AT Commands Manual Examples Command Responses AT+WIPBR? 1,0 6,1 OK Note: Bearer UART1

Strona 20 - Responses

WA_DEV_W228_UGD_002 Rev 003 Page 27 of 78 WISMO228 TCP/IP AT Commands Manual Command Responses AT+WIPBR=3,5,16 Note: Read the destination IP add

Strona 21 - Bearers Handling +WIPBR

WA_DEV_W228_UGD_002 Rev 003 Page 28 of 78 WISMO228 TCP/IP AT Commands Manual 

Strona 22

WA_DEV_W228_UGD_002 Rev 003 Page 29 of 78 WISMO228 TCP/IP AT Commands Manual 4. IP Protocol Services Service Creation +WIPCREATE Descri

Strona 23

WA_DEV_W228_UGD_002 Rev 003 Page 3 of 78 WISMO228 TCP/IP AT Commands Manual Limitations of Liability This manual Sierra W

Strona 24

WA_DEV_W228_UGD_002 Rev 003 Page 30 of 78 WISMO228 TCP/IP AT Commands Manual Syntax  if <mode> = 1 Action Command AT+WIPCREATE=<mode

Strona 25

WA_DEV_W228_UGD_002 Rev 003 Page 31 of 78 WISMO228 TCP/IP AT Commands Manual  if <mode>=1 or 2 Unsolicited response +WIPREADY: <mode&

Strona 26

WA_DEV_W228_UGD_002 Rev 003 Page 32 of 78 WISMO228 TCP/IP AT Commands Manual Parameters and Defined Values <mode>: Specifies type of socke

Strona 27

WA_DEV_W228_UGD_002 Rev 003 Page 33 of 78 WISMO228 TCP/IP AT Commands Manual Possible Errors 

Strona 28

WA_DEV_W228_UGD_002 Rev 003 Page 34 of 78 WISMO228 TCP/IP AT Commands Manual Examples Command Responses AT+WIPCREATE=1,1,80 Note: Create the UDP

Strona 29 - 4. IP Protocol Services

WA_DEV_W228_UGD_002 Rev 003 Page 35 of 78 WISMO228 TCP/IP AT Commands Manual possible to reserve a range with AT+WIPCREATE=3, <server idx>

Strona 30

WA_DEV_W228_UGD_002 Rev 003 Page 36 of 78 WISMO228 TCP/IP AT Commands Manual Closing a Service +WIPCLOSE Description The +WIPCLOSE comman

Strona 31

WA_DEV_W228_UGD_002 Rev 003 Page 37 of 78 WISMO228 TCP/IP AT Commands Manual command. Parameter Storage None Possible Errors The possible error

Strona 32

WA_DEV_W228_UGD_002 Rev 003 Page 38 of 78 WISMO228 TCP/IP AT Commands Manual 

Strona 33

WA_DEV_W228_UGD_002 Rev 003 Page 39 of 78 WISMO228 TCP/IP AT Commands Manual Service Option Handling +WIPOPT Description The +WIPOPT comm

Strona 34

WA_DEV_W228_UGD_002 Rev 003 Page 4 of 78 WISMO228 TCP/IP AT Commands Manual Contact Information Sales Desk: Phone: 1-604-232-1488 Hours: 8:00 A

Strona 35

WA_DEV_W228_UGD_002 Rev 003 Page 40 of 78 WISMO228 TCP/IP AT Commands Manual Parameters and Defined Values <protocol>: protocol type 1 UD

Strona 36 - Closing a Service +WIPCLOSE

WA_DEV_W228_UGD_002 Rev 003 Page 41 of 78 WISMO228 TCP/IP AT Commands Manual “+CM EE” AT error code Description 837 bad protocol 850 unknown rea

Strona 37

WA_DEV_W228_UGD_002 Rev 003 Page 42 of 78 WISMO228 TCP/IP AT Commands Manual opt num Value format Option type Description UDP TCP client TCP ser

Strona 38

WA_DEV_W228_UGD_002 Rev 003 Page 43 of 78 WISMO228 TCP/IP AT Commands Manual 5. Data Exchange for Protocol Services This section deals with th

Strona 39 - Description

WA_DEV_W228_UGD_002 Rev 003 Page 44 of 78 WISMO228 TCP/IP AT Commands Manual UDP Sockets in Continuous Mode UDP is a connectionless protocol and

Strona 40

WA_DEV_W228_UGD_002 Rev 003 Page 45 of 78 WISMO228 TCP/IP AT Commands Manual [ETX] Escaping Mechanism The schematic above explains how [ETX] ch

Strona 41

WA_DEV_W228_UGD_002 Rev 003 Page 46 of 78 WISMO228 TCP/IP AT Commands Manual  UDP socket: a non escaped [ETX] signals the boundary of the curr

Strona 42

WA_DEV_W228_UGD_002 Rev 003 Page 47 of 78 WISMO228 TCP/IP AT Commands Manual The schematic above explains how [DLE] characters  which have a s

Strona 43 - Services

WA_DEV_W228_UGD_002 Rev 003 Page 48 of 78 WISMO228 TCP/IP AT Commands Manual Protocol UART IP Network (active socket) TCP [DLE] alone. A single

Strona 44

WA_DEV_W228_UGD_002 Rev 003 Page 49 of 78 WISMO228 TCP/IP AT Commands Manual Read Command AT+WIPDATA? NONE Test Command AT+WIPDATA=? OK  if &l

Strona 45

WA_DEV_W228_UGD_002 Rev 003 Page 5 of 78 WISMO228 TCP/IP AT Commands Manual Revision History Index Date Updates 001 October 12, 2009 Creation 0

Strona 46

WA_DEV_W228_UGD_002 Rev 003 Page 50 of 78 WISMO228 TCP/IP AT Commands Manual [DLE]/[ETX] characters are considered as normal data and not specia

Strona 47

WA_DEV_W228_UGD_002 Rev 003 Page 51 of 78 WISMO228 TCP/IP AT Commands Manual Examples Command Responses AT+WIPDATA=2,5,1 Note: TCP Client with i

Strona 48 - Resetting TCP Sockets

WA_DEV_W228_UGD_002 Rev 003 Page 52 of 78 WISMO228 TCP/IP AT Commands Manual Command Responses AT+WIPDATA=2,5,1,20,10 Note: TCP with index 5 can

Strona 49

WA_DEV_W228_UGD_002 Rev 003 Page 53 of 78 WISMO228 TCP/IP AT Commands Manual In the schematic above, a TCP socket is connected. On the transmit

Strona 50

WA_DEV_W228_UGD_002 Rev 003 Page 54 of 78 WISMO228 TCP/IP AT Commands Manual  +CME ERROR:3 will be received when GPRS bearer is used  no res

Strona 51

WA_DEV_W228_UGD_002 Rev 003 Page 55 of 78 WISMO228 TCP/IP AT Commands Manual set for option WIP_NET_OPT_TCP_MIN_MSS and AT_WIP_NET_OPT_PREF_TIME

Strona 52

WA_DEV_W228_UGD_002 Rev 003 Page 56 of 78 WISMO228 TCP/IP AT Commands Manual 6. Ping Services PING command +WIPPING Description The +WI

Strona 53

WA_DEV_W228_UGD_002 Rev 003 Page 57 of 78 WISMO228 TCP/IP AT Commands Manual <interval>: number of milliseconds between packets range: 1-6

Strona 54

WA_DEV_W228_UGD_002 Rev 003 Page 58 of 78 WISMO228 TCP/IP AT Commands Manual Examples Command Responses AT+WIPPING=”www.wavecom.com” Note: Ping

Strona 55

WA_DEV_W228_UGD_002 Rev 003 Page 59 of 78 WISMO228 TCP/IP AT Commands Manual 7. Examples of Application TCP Socket TCP Server Socket Using GPR

Strona 56 - 6. Ping Services

WA_DEV_W228_UGD_002 Rev 003 Page 6 of 78 WISMO228 TCP/IP AT Commands Manual Contents CONTENTS ...

Strona 57

WA_DEV_W228_UGD_002 Rev 003 Page 60 of 78 WISMO228 TCP/IP AT Commands Manual Using GSM Bearer AT+WIPCFG=1 OK //start IP stack AT+WIPBR=1,5 OK //

Strona 58

WA_DEV_W228_UGD_002 Rev 003 Page 61 of 78 WISMO228 TCP/IP AT Commands Manual TCP Client Socket Using GPRS Bearer AT+WIPCFG=1 OK //start IP stack

Strona 59 - 7. Examples of Application

WA_DEV_W228_UGD_002 Rev 003 Page 62 of 78 WISMO228 TCP/IP AT Commands Manual Using GSM Bearer AT+WIPCFG=1 OK //start IP stack AT+WIPBR=1,5 OK //

Strona 60

WA_DEV_W228_UGD_002 Rev 003 Page 63 of 78 WISMO228 TCP/IP AT Commands Manual UDP Socket AT+WIPCFG=1 OK //start IP stack AT+WIPBR=1,6 OK //open G

Strona 61 - TCP Client Socket

WA_DEV_W228_UGD_002 Rev 003 Page 64 of 78 WISMO228 TCP/IP AT Commands Manual +WIPDATA: 1,1,25,"192.168.0.2",2397 //one datagram is rea

Strona 62

WA_DEV_W228_UGD_002 Rev 003 Page 65 of 78 WISMO228 TCP/IP AT Commands Manual PING AT+WIPCFG=1 OK //start IP stack AT+WIPBR=1,6 OK //open GPRS be

Strona 63 - UDP Socket

WA_DEV_W228_UGD_002 Rev 003 Page 66 of 78 WISMO228 TCP/IP AT Commands Manual Creating a TCP Server, Spawning the Maximum TCP Sockets (for

Strona 64

WA_DEV_W228_UGD_002 Rev 003 Page 67 of 78 WISMO228 TCP/IP AT Commands Manual Creating a Server and Trying to Create a TCP Client/Server

Strona 65

WA_DEV_W228_UGD_002 Rev 003 Page 68 of 78 WISMO228 TCP/IP AT Commands Manual +WIPPEERCLOSE: 2,3 //unsolicited: peer socket is closed AT+WIPCLOSE

Strona 66

WA_DEV_W228_UGD_002 Rev 003 Page 69 of 78 WISMO228 TCP/IP AT Commands Manual Failed Creation of a TCP Client and Failed Creation of a TCP Serv

Strona 67

WA_DEV_W228_UGD_002 Rev 003 Page 7 of 78 WISMO228 TCP/IP AT Commands Manual Parameters and Defined Values ...

Strona 68

WA_DEV_W228_UGD_002 Rev 003 Page 70 of 78 WISMO228 TCP/IP AT Commands Manual Creating 8 UDP Sockets, 8 TCP Clients and 4 TCP Servers AT+WIPCFG=

Strona 69 - TCP Client

WA_DEV_W228_UGD_002 Rev 003 Page 71 of 78 WISMO228 TCP/IP AT Commands Manual +WIPREADY: 1,4 //unsolicited: the UDP client socket is “pseudo //”c

Strona 70 - Servers

WA_DEV_W228_UGD_002 Rev 003 Page 72 of 78 WISMO228 TCP/IP AT Commands Manual AT+WIPCREATE=2,1,”192.168.0.1”,80 +CME ERROR: 845 //create a TCP cl

Strona 71

WA_DEV_W228_UGD_002 Rev 003 Page 73 of 78 WISMO228 TCP/IP AT Commands Manual Trying to Create 8 UDP Sockets, 8 TCP Client Sockets and 4

Strona 72

WA_DEV_W228_UGD_002 Rev 003 Page 74 of 78 WISMO228 TCP/IP AT Commands Manual Creating TCP Client and Server Sockets in the Same WISMO® AT+WIPCFG

Strona 73

WA_DEV_W228_UGD_002 Rev 003 Page 75 of 78 WISMO228 TCP/IP AT Commands Manual 8. Error Codes “+CMEE” AT Error Code Description 3 operation not

Strona 74

WA_DEV_W228_UGD_002 Rev 003 Page 76 of 78 WISMO228 TCP/IP AT Commands Manual “+CMEE” AT Error Code Description 837 bad protocol 838 no more free

Strona 75 - 8. Error Codes

WA_DEV_W228_UGD_002 Rev 003 Page 77 of 78 WISMO228 TCP/IP AT Commands Manual 9. List of Abbreviations Abbreviation Definition APN Access Point

Strona 76 - “+CMEE” AT Error Code

WA_DEV_W228_UGD_002 Rev 003 Page 78 of 78 WISMO228 TCP/IP AT Commands Manual O Optional OS Operating System PAP Password Authentication Protocol

Strona 78

WA_DEV_W228_UGD_002 Rev 003 Page 8 of 78 WISMO228 TCP/IP AT Commands Manual Syntax .....

Strona 79

WA_DEV_W228_UGD_002 Rev 003 Page 9 of 78 WISMO228 TCP/IP AT Commands Manual 1. Introduction This manual presents detailed information about th

Komentarze do niniejszej Instrukcji

Brak uwag