How to send unsolicited message through Cradlepoint

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Full disclosure:  I'm a newbie in this area.  So while I've heard terms such as GSM and SMS I've never worked in this area.  I do have smarter people to consult, though. ;)

 

In some of our industrial controller applications, we connect a wireless/cellular router to the AVR through a UART connection.  We now apply only Cradlepoint IBR600LE, which I believe is 4G LTE?  (we did also prototype with other models/brands that work equivalently)

 

I do the firmware for the AVR side.  There is a provision for the "user" to connect (typically) a laptop through USB cable and FTDI chip to one of the AVR's USARTs.  The AVR is always the "slave" in this setup, responding to requests from the PC "master".  Typical uses are log file upload; configuration file upload/download; read status; and some "remote control" -- show app's display contents on the PC and simulate button presses back to the unit.

 

In some installations, we now connect to the Cradlepoint router.  The functions can be then done from anywhere in the world. ;)  From my firmware point of view, it is totally transparent -- plugging in the USB cable switches the USART to the USB; otherwise, the USART talks to the Cradlepoint.

 

As mentioned, my AVR is the slave and never speaks unless spoken to.  The firmware doesn't "know" anything about the Cradlepoint -- no AT messages or the like.  All configuration and such is done from the "other end".

 

Now, a need/desire has arisen to send unsolicited messages from the AVR app through the Cradlepoint to some remote destination.  Alarm conditions; daily usage; like that.

 

[newbie alert]  So, I think I want to send an unsolicited SMS message and have it show up e.g. as a text message on my cell phone?  Or as an email message?  Does anyone have experience to tell me where to get started?

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

Last Edited: Thu. Oct 2, 2014 - 04:05 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

theusch wrote:
So, I think I want to send an unsolicited SMS message and have it show up e.g. as a text message on my cell phone?

Yes, that would be the newbie approach wink

 

But it's not very scalable or manageable for a professional product. For that, you want the device to report to your "server" (which could still be via SMS) and have the server manage the onward notifications...

 

 

 

 

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If you don't know how to send a text message from a computer, that is easy.

 

Just send a small e-mail to the cell phone number @<something> where you can find the something with google.

 

To send to cell phone number 6667778888 on Verizon, it is 6667778888@vtext.com.

 

I think the maximum size message is 160 characters including spaces etc.

 

Conversely, cell phones can send text messages to e-mail addresses.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

theusch wrote:
  So, I think I want to send an unsolicited SMS message and have it show up e.g. as a text message on my cell phone?  Or as an email message?  Does anyone have experience to tell me where to get started?

Try this:

Series 3: How to Configure and Use SMS on capable CradlePoint routers