GPRS
3-302 G24-L AT Commands Reference Manual April 15, 2008
The following table shows the +MIPCFF parameters.
Command Type Syntax Response/Action Remarks
Set
+MIPCFF = <Socket
ID>,<CmdType>,["<IP>"]
Comment: IP in IP CIDR
presentation
OK
or:
+CME: <error code>
Read
AT+MIPCFF? +MIPCFF:
1,<STATUS>,<IP1.1>,<IP1.2….
<IP1.n>
+MIPCFF:
2,<STATUS>,<IP2.1>,<IP1.2….
<IP2.n>
+MIPCFF:
3,<STATUS>,<IP3.1>,<IP1.2….
<IP3.n>
+MIPCFF:
4,<STATUS>,<IP4.1>,<IP1.2….
<IP4.n>
Test
AT+MIPCFF =? +MIPCFF=(1-4),(0-4),("IP in
CIDR notation")
OK
or:
+CME: <error code>
Table 3-211: +MIPCFF Parameters
<Parameter> Description Value
<Socket_id> Identification Number of Sockets. 0 - Invalid socket nmber.
1, 2 ... Max (=4).
<CmdType> Operation that should be
accomplished.
0 - Disable filtering.
1 - Enable filtering.
2 - Add IP to white list.
3 - Remove IP from white list.
4 - Clear IP white list.
<IP> IP for an allowed node. IP in format
AAA.BBB.CCC.DDD. The range
of each octant is 0-255. Value can
be written in 1,2,3 digits.
Fixed bit A: The range is 1 - 32.
Value can be written in 1 or 2
digits.
<Status> Indicate filtering status on socket. 0 - Disabled.
1 - Enabled.
2- Not applicable (when socket is
opened as client).