AT+CPROT - Enter protocol mode

Informs TA that TE wants to establish a peer-to-peer protocol or upper layer connection (indicated by the settings) with the ME on the link from which the command was received. This command can be used in case the link between TE and ME does not provide such a mecha- nism itself. If ME has succeeded in establishing a logical link between application pro- tocols and external interface, it sends a CONNECT message to the TE. Otherwise, the NO CARRIER response is returned. If the CONNECT response is received, TE can start sending or upper layer frames. The connection always returns to mode when the protocol ses- sion is ended. When the ME receives a disconnect request from its peer entity, it processes it and sends a OK response to the TE indicating its capability for receiving new AT commands. Since or upper layers can be accessed in other ways, TA must have prior knowledge of the fact that connection is initiated with AT+CPROT command. This means that switch to mode must include some sort of notification to the pro- tocol entity. This command can be aborted by sending a or upper layer dis- connection frame. In that case, ME returns to command mode by sending the OK response.

Use AT command in a programming environment

With ActiveXperts Serial Port Component (an ActiveXperts product), you can integrate AT modem communications in scripts, console applications, GUI form applications, web applications and web services.

With ActiveXperts SMS Component (an ActiveXperts product), you can also integrate AT modem communications in an environment that has many aspects of GSM modem communications implemented in interface functions.