main()
{
string number, message, sErrorText, SMSDP;
int error;
number = "436767890026";
message = "This is a test, sending SMS messages";
sendSMS(number, message, error, sErrorText, SMSDP = "_SMS_1");
if (error == 0) // If the return value equals 0, the reading was
// executed successfully.
{
DebugN("The SMS message: "+message+"; was sent successfully to the number: "+number);
}
else
{
DebugN(error, sErrorText);
}
}
To send a SMS to multiple recipients you will have to send the message multiple times (unless you some forwarding services, which delivers the message to your distribution list).
This 'sendSMS' function uses AT commands to send the message. There is no AT command to send a SMS to multiple recipients.
Hi,I tried with same script but getting v24 error and [-2]["Timeout: No response from SMS driver!"].do we need to any configuration from sms option inside com?can you tell in generalize way how to do that so that I can send sms via wincc oa?
Hi,
Can you please explain implementation steps in general using netPost()/netGet() how sms can be sent to a particular number?do we need any kind of license for that?