Send SMS
This ADS service sends an SMS to one or more recipients.
Use the ADS service ”AdsWriteReq”.
Name | Description |
---|---|
ADS Port | 10400 |
IndexGroup | 0x00004000 |
IndexOffset | 0x00000001 |
cbLength | Length of the XML character string, including the terminating null character. |
pWriteData | XML character string with the following structure: <Msg> |
<No></No> Destination | The <No></No>Destination can be repeated in order to send to multiple recipients. |
Destination | Destination is the number to be dialled. It can be entered in national or international form. National numbers have a leading 0, as for example: 0170111111. International numbers begin with a + sign, followed by the country code, as for example: +49170111111. |
Message | Message is the text that is to be sent. The message may not contain more than 80 characters! |
Example of the XML character string:
<Msg>
<Targets>
<Target>
<No>0170111111</No>
<No>0170222222</No>
</Target>
</Targets>
<Body>
<![CDATA[Hello, this is an SMS]]>
</Body>
</Msg>