Multitech MMCModem GPRS (MTMMC-G) Uživatelský manuál Strana 21

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 44
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 20
Chapter 3 – IP Protocol Services
Multi-Tech Systems, Inc. IP Connectivity AT Commands for GPRS-F4 Wireless Modems (PN S000437C) 21
Service Option Handling +WIPOPT
Description: The +WIPOPT command is used to read and/or to configure different parameters
on sockets and FTP service.
Description Notes:
The SIM card must be inserted in order to use this command
The PIN 1/CHV 1 code must be entered in order to use this command.
The PIN 2/CHV 2 code does not have to be entered in order to use this
command.
The +WIND general indication command value from which +WIPCREATE
is allowed is 4. This value (4) indicates that the product is ready to process
AT commands (except phonebooks, AOC, SMS), but is still in emergency
mode. See Appendix A – GSM/GPRS +WIND AT Command.
Syntax: For a definition of <action>, see Parameter/Defined Values below.
If <action>=1 AT+WIPOPT=<protocol>,<idx>,<action>,<optnum>
If <action>=2 AT+WIPOPT=<protocol>,<idx>,<action>,<optnum>,<optval>
Read Command: AT+WIPOPT? Displays the current values.
Test Command: AT+WIPOPT=? Displays available values.
Parameters/Defined Values:
<protocol>: protocol type
1 UDP
2 TCP client
3 TCP server
4 FTP
<idx>: socket identifier
<action>: requested operation
1 read the value of an option
2 write the value of an option
<optnum>: option that can be read/written
<optval>: value of an option
Parameter Storage: None
Possible Errors:
+CMEE AT error code Description
800 invalid option
801 invalid option value
803 operation not allowed in the current WIP stack state
830 bad index
834 not implemented
835 option not supported
837 bad protocol
850 unknown reason
Examples:
Command Responses
AT+WIPOPT=2,1,2,8,20
Note: Set TTL for TCP client
OK
AT+WIPOPT=2,1,1,8
Note: Get TTL for TCP client
+WIPOPT: 2,1,8,20
OK
AT+WIPOPT=3,1,2,9,10
Note: Set TOS for TCP server
OK
AT+WIPOPT=3,1,1,9
Note: Get TOS for TCP server
+WIPOPT: 2,1,9,10
OK
AT+WIPOPT=1,1,1,1
Note: Get peer port for UDP
+WIPOPT: 2,1,1,80
OK
AT+WIPOPT=4,1,2,40,1
Note: Set data representation type for FTP
OK
AT+WIPOPT=4,1,1,40
Note: Get data representation type for FTP
+WIPOPT: 4,1,1,1
OK
Zobrazit stránku 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 43 44

Komentáře k této Příručce

Žádné komentáře