sms message


BenHassenRiadh

Recommended Posts

  • 6 months later...

Hi, Further to the above I can see that your suggestion of using email to send SMS is far easier. However,  if the site engineers mobile service provider does not provide this facility is there an example of DF script that contains typical GSM AT commands? I assume I need the DAQFactory Serial - Ethernet communications guide. This does not seem to be in the installation folder?

Link to comment
Share on other sites

Yes, that is the right direction, but you almost certainly will need either a carriage return or a carriage return / line feed afterwards.  I typically like to do it with a variable, or you can just add the chr() commands to the end.

private string CRLF = chr(13) + chr(10)

device.gsmmodem.write("+CMGS" + crlf)

...

 

Link to comment
Share on other sites

  • 4 weeks later...

Archived

This topic is now archived and is closed to further replies.