HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Internet Services

<reqWriteLength>: integer parameter, which specifies the length of data bytes to be

written by ^SISW. Value range: 0–1500.

When the value is 0, if the TCP protocol is used, you can query the <unackdata> parameter that is not acknowledged by the TCP layer; if the UDP protocol is used, it indicates that an empty UDP packet is sent.

If the socket service uses the UPD protocol, it is recommened that each UPD packet limits 1460 bytes of data, otherwise the unsolicitely report "^SIS: < srvProfileId >, 0, 9, The supplied buffer was too small / large" may occur.

<eodFlag>: flag of data tail identification. (Not supported currently)

z0 (default value): No data tail exists and other data is sent directly.

z1: data tail.

<mode>: controls the mode of sending data (not supported currently).

z0 (default value): binary mode

z1: interactive text mode

<cnfWritetLength>: integer parameter, which confirms the number of data bytes to be sent in the internet service whose ID is <srvProfileId>. Currently, <cnfWritetLength> is equivalent to <reqWriteLength>. Value range: 0–1500.

<unackData>: number of data bytes that have been sent but have not been acknowledged by the TCP layer.

10.7.3 ^SISW - Command for Reporting Unsolicitedly

URC <CR><LF>^SISW:<srvProfileId><urcCauseId>[,<unackData>]<CR><LF>

Function The ^SISR command (command for unsolicitedly reporting data) notifies the upper layer that the service is established and data can be written.

Note:

When a non-monitored Internet service is successfully enabled, ^SISSW is reported.

Parameter description

<urcCauseId>: integer parameter.

1:The service is ready for receiving new user data.

10.7.4Examples

Example 1:

Check whether the command is available.

AT^SISW=?

OK

Example 2:

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

151

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 168
Image 168
Huawei MG323 manual Sisw Command for Reporting Unsolicitedly, Example Check whether the command is available, Atsisw=?