The set command requests the configuration or status information of the Access Point Name (APN) rate control.
The APN rate control configuration and status changes are available also as +CGEV notifications.
APN rate control is active only when the context is active. An indication of context deactivation, such as +CGEV ME PDN DEACT <cid>, received by a client also indicates that the APN rate control configuration is removed for the context identified by <cid>. If the context is activated again, a new APN rate control configuration is indicated to the client if it is configured by the network.
Syntax:
%APNRATECTRL=<mode>[,<cid>]
Response syntax for status query:
%APNRATECTRL: <mode>,<cid>,<status>[,<remaining_time>]
Response syntax for configuration query:
%APNRATECTRL: <mode>,<cid>,<number_of_packets>,<time_window>
The set command parameters and their defined values are the following:
The following command example requests the status of CID 1. APN rate control is ON with one minute remaining:
AT%APNRATECTRL=0,1
%APNRATECTRL: 0,1,1,60
OK
The following command example requests the status of CID 2. APN rate control is OFF:
AT%APNRATECTRL=0,2
%APNRATECTRL: 0,2,0
OK
The following command example requests APN rate control configurations. APN rate control is configured for CID 1 and 2:
AT%APNRATECTRL=1
%APNRATECTRL: 1,1,10,180
%APNRATECTRL: 1,2,100,60
OK
The following command example requests APN rate control configurations. Only CID 0 is active. APN rate control is not configured:
AT%APNRATECTRL=1
%APNRATECTRL: 1,0,0
OK