NB-IoT Module Series
BC26 AT Commands Manual
BC26_AT_Commands_Manual 24 / 73
2.11. AT+CGATT GPRS/Packet Domain Attach/Detach
The execution command is used to attach the MT to, or detach the MT from, the packet domain service.
After the command has completed, the MT remains in V.250 command state. If the MT is already in the
requested state, the command is ignored and the “OK” response is returned. If the requested state cannot
be achieved, an “ERROR” or “+CME ERROR” response is returned.
Any active PDP contexts will be automatically deactivated when the attachment state changes to
detached.
The read command returns the current packet domain service state.
The test command is used for requesting information on the supported packet domain service states.
Parameter
Example
AT+CGATT?
+CGATT:0
AT+CGATT GPRS/Packet Domain Attach/Detach
Write Command
AT+CGATT=<state>
Response
OK
If there is any error, response:
+CME ERROR:<err>
Read Command
AT+CGATT?
Response
+CGATT:<state>
OK
Test Command
AT+CGATT=?
Response
+CGATT:
(list of supported
<state>
s)
OK
<state>
Integer type; indicates the state of GPRS/Packet Domain attachment
0
Detached
1 Attached
Other values are reserved and will result in an ERROR response to the execution
command.