Telit LE910 V2 Series AT Commands
80446ST10707A Rev. 0– 2015-11-03
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 489 of 509
Mod. 0808 2011-07 Rev.2
Send data to M2M Service - #DWSEND
#DWSEND – send data to M2M Service
m_>[,<param_2>[,…[<param
_n>]]]
Execution command permits to send formatted data to the M2M Service.
Parameters:
<type> - type code for the type of message to send. (0 for normal request;
1 for method request; 2 for method update; 3 for method ack)
Type 0 message format:
- command – the api command to execute.
<param_i> - string parameter indicating the i-th parameter, with
i=1,…,24.
Type 1 message format:
<param_1> - “thingKey” – the key of a thing to execute.
<param_2> - timeout – time to wait in seconds before returning an error
for the request.
<param_3> - method – the method key of a thing to execute.
<param_4> - is singleton – 0 or 1. 1 if no more than one of these
instances can exist.
<param_5+> - parameters for the method. String parameter indicating the
i-th parameter, with i=1,…,20.
Type 2 message format:
<param_1> - id – the identification of the method instance.
<param_2> - message – a message represents the current status of the
method.
Type 3 message format:
<param_1> - id – the identification of the method instance.
<param_2> - status – the integer result status for the execution.
0 is reserved for OK.
<param_3 when status is set to non-zero> - error message associated
with the status.
<param_3 when status is set to zero> - return
parameters for the method.
Key value pair should be used. param_i should be the name of the
element and param_i+1 should be the value of the element.