Read command

The read command allocates a new context identifier.

The command allocates a unique context identifier, which can be referenced with other commands like +CGDCONT. The allocated identifier can be deallocated with the CGDCONT command by giving only the <cid> parameter.

This command can be used instead of reading existing default and dedicated contexts with AT+CGDCONT? and finding an unused <cid> value before configuring new context.

Response syntax:

%XNEWCID: <cid>

The command parameter and its defined values are the following:

<cid>
1–11

The example command requests the allocation of a new context identifier:

AT%XNEWCID?
%XNEWCID: 2
OK