Esp8266 Pager function to Send SMS's to a Cell Phone
Posted: Mon Nov 30, 2015 3:43 am
I put together a "page()" function to send SMS Text to a Cell Phone via an Open SMS Gateway. Currently I am using it to report a "Boot" messages for each Esp's in my ERB-EspWebServer Farm. The page function could be used to report any data that it is supplied (within some limits).
Note the Open SMS Gateway that I use has some limits:
The function is defined as:
[EDIT] Also, Check out another post on this forum.
If this sounds interesting, check my blog post at: http://wa0uwh.blogspot.com/2015/11/esp8266-with-sms.html
Regards,
Eldon - WA0UWH
Note the Open SMS Gateway that I use has some limits:
- Less than 4 SMS's to a single phone number within 3 minutes.
Less than 75 SMS's per day from a single IPA.
And, of course, SMS is limited to 160 characters per message.
The function is defined as:
Code: Select all
boolean
page( String aMesgText = DEFAULT_PAGER_MESSAGE,
String aNumber = DEFAULT_PAGER_NUMBER,
String aHost = DEFAULT_PAGER_GATEWAY,
int aPort = DEFAULT_PAGER_PORT )
{
[EDIT] Also, Check out another post on this forum.
If this sounds interesting, check my blog post at: http://wa0uwh.blogspot.com/2015/11/esp8266-with-sms.html
Regards,
Eldon - WA0UWH