Download Multitech MTCBA-C-IP-N1 Specifications
Transcript
Chapter 10 – Internet Service Commands 10.3 AT^SISO Internet Service Open Description: The AT^SISO write command starts the Internet session configured by the service profile. If the service open successfully, the URCs ^SISR and ^SISW will trigger the action to follow, either writing data with AT^SISW of reading data with AT^SISR. If the “^SISW” and “^SISR” URCs notify that no data is available at all, or that a data transfer has been successful, the service can be closed with AT^SISC. If an error occurs after opening or while using a service then the URC type “^SIS” described below will be delivered. In any case, an opened service must be finished by sending the Close command AT^SISC. This applies no matter whether the service has been completed successfully (all data transmitted) or entered an error state (e.g., indicated by the “^SIS” URC). It is also necessary when a service, such as POP3 or FTP, has already closed automatically after successful data transfer and entered <srvState> “2”. The AT^SISO read command requests the status of all Internet service profiles. One line is issued for every Internet service profile. Information following <srvParmTag> value “srvType” is issued only if “srvType” was given a valid value via AT^SISS. The read command can be used any time during operation or after closing a service. In the latter case the response indicates the state of the last event related to a specific service profile. It will be updated only when the same service profile is used again. Test Command Syntax: Response: Read Command Syntax: Response: AT^SISO=? OK AT^SISO? ^SISO: <srvProfileId>, <srvParmTag>value “srvType” [, <srvState>, <socketState>, <rxCount>, <txCount>, <locAddr>, <remAddr>] OK AT^SISO=<srvProfileId> OK ERROR +CME ERROR: <err> Write Command Syntax: Response: Unsolicited Result Code: Indicates the current state of the Internet service. ^SIS: <srvProfileId>, <urcCause>[, [<urcInfoId>][, <urcInfoText>]] The URC may appear if an error occurs, for example after opening an Internet service with AT^SISO or any time during operation. The URC also indicates a request for a mobile terminated Internet service client connection, or a failure if a mobile terminated request is rejected. Furthermore, the URC may deliver an information element resulting from a specific command given in the service profile. The precise <urcInfoText> related to a <urcInfoId> varies greatly depending on the used service, the scenario and the implementation of the remote server. A list of possible causes can be found in Section 10.7, Info. Elements Related to Internet Service URCs. Parameter Descriptions: <srvProfileId> <srvProfileId> 0 ... 9 specified with AT^SISS. <srvState> Internet service state identifier. “” Service profile is unused. 2 Service profile resources are allocated; i.e., at least the service type has been set (parameter <srvParmTag>, value “srvType” of AT^SISS). The service is not opened. 3 Connecting: State after opening a service with AT^SISO where the connection is being established. If connection setup is successful the service proceeds to the state “4” (Connected) and one of the URCs “^SISW” and “^SISR” may follow. If connection setup is not successful, the “^SIS” may appear. In the case of SMTP, the service will not enter <srvState>=3 until the host has written the first data packet with AT^SISW. If the service profile is configured as Socket listener, then the listener always stays at <srvState>=3 (listening) and <socketState>=3 (LISTENER), while the <srvState> and <socketState> of the dynamically assigned service profile may change. See examples in Section 10.3.1. 4 Connected: Socket connection valid. 5 Closing: Socket connection releasing. The Closing state is reached after sending the AT^SISC command or after a service has closed automatically, such as FTP download or POP3. In the latter case, it is necessary to send the AT^SISC command even though the FTP download or POP3 service has already entered <srvState> “2”. Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371B) 134