14.03.2015 Views

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 3: <strong>AT</strong> <strong>Commands</strong> <strong>Reference</strong><br />

+MIPSETS, Set Watermark and Timeout for Automatic Push<br />

This command causes the module to set a watermark and a timeout for socket automatic push<br />

functionality.<br />

When the data amount reaches the watermark, the data is pushed to Network.<br />

Timeout is used to define the delay (in milliseconds.) from the time the module received the data<br />

via +MIPSEND command, until pushing the data to Network.<br />

The amount of data, sent by single call of +MIPSEND command from the terminal to the module<br />

is limited to 160 ASCII characters (encoded), see MIP <strong>Commands</strong> Using Cases / Data Encoding<br />

for more description. Therefore, in order to reduce the overhead of sending small amounts of data<br />

over the air, the socket can accumulate the data and send it only, when the data amount reaches a<br />

predefined watermark. The terminal can specify a watermark for an opened socket, indicating<br />

how much data should be accumulated. When the data exceeds the watermark, the amount of<br />

data, equal to the watermark, is sent to Network. The data, remaining in the buffer, will be sent<br />

with the next packet.<br />

When timeout is defined as a non-zero value, an amount of data, received by the socket using<br />

+MIPSEND command, triggers countdown of the timeout counter. Once timeout is reached, the<br />

accumulated data is pushed to Network. If new data arrives before timeout, the counter is reset to<br />

the predefined timeout value. When the accumulated data reaches the watermark, the data is<br />

pushed to Network as usual. After this automatic push, as usual, there's still data that remains in<br />

the socket. In this case the counter is reset to the predefined timeout value and countdown is<br />

restarted.<br />

Note: When a socket has a data and +MIPSETS command applies, the +MIPSETS command<br />

will be rejected.<br />

Command<br />

Type Syntax Response/Action Remarks<br />

Set<br />

+MIPSETS=,<br />

[,]<br />

OK<br />

+MIPSETS: ,<br />

Or<br />

ERROR [] 1<br />

Read +MIPSETS? +MIPSETS:<br />

,,<br />

[+MIPSETS:<br />

,,] 2<br />

...<br />

OK<br />

Test +MIPSETS=? +MIPSETS: (list of supported s),<br />

(range of supported s),<br />

(range of supported s)<br />

OK<br />

Note: 1 ) The Set command returns an ERROR indication when the command process fails (see<br />

Table 3-218). ErrorCode is returned when numeric/verbose responses mode is enabled.<br />

2 ) The Read command returns a report for all active sockets.<br />

April 15, 2010 H24 - <strong>AT</strong> <strong>Commands</strong> <strong>Reference</strong> <strong>Manual</strong> 3-325

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!