Motorola AT Commands G24-L Technické informace Strana 515

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 680
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 514
Chapter 3: AT Commands Reference
August 5, 2008 AT Commands Reference Manual 3-427
+MIPCFF, Control Filtering Feature for Incoming TCP Connection
This AT command is used to control filtering feature. Filtering feature adds the ability to accept
IP connections only if the IP belongs to a defined IP white list to the embedded TCP/IP feature.
This feature affects only TCP socket type connections.
Command Type Syntax Response/Action Remarks
Set
AT+MIPCFF=
<SocketID>,<CmdType>[,"<
IP CIDR>"]
OK
or:
+CME ERROR: <err>
The set command
defines the IP
white list and
controls the
feature behavior
(enable or
disable).
If <CmdType> is
0, 1 or 4, then <IP
CIDR> parameter
is not allowed.
If <IP CIDR>
parameter will be
present in that
case, the error
message will be
returned to DTE.
If <CmdType> is 2
(add IP to white
list) or 3 (remove
IP from white list),
the <IP CIDR>
parameter is
mandatory.
Read
AT+MIPCFF? +MIPCFF:
1,<Status>,<IP1.1>,<IP1.2>…<I
P1.n>
+MIPCFF:
2,<Status>,<IP2.1>,<IP2.2>…<I
P2.n>
+MIPCFF:
3,<Status>,<IP3.1>,<IP3.2>…<I
P3.n>
+MIPCFF:
4,<Status>,<IP4.1>,<IP4.2>…<I
P4.n>
OK
or:
+CME ERROR: <err>
For each socket
the command
returns the current
filtering feature
state (enabled,
disabled or not
applicable) and a
list of IP addresses
(in CIDR notation)
in socket filtering
white list.
In case the
connection is set
for "client"
functionality
(socket initiates
the connection)
the filtering status
is 2 ("not
applicable").
Test
AT+MIPCFF =? +MIPCFF: (1-4),(0-4),("<IP
CIDR>")
OK
or:
+CME ERROR: <err>
The command
returns the range
of <SocketID>'s,
the list of
supported
<CmdType>'s and
string "<IP
CIDR>".
Zobrazit stránku 514
1 2 ... 510 511 512 513 514 515 516 517 518 519 520 ... 679 680

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

Žádné komentáře