Switch to desktop version  
Commands via SMS - Printable Version

+- Ewon Technical Forum (https://techforum.ewon.biz)
+-- Forum: Development (https://techforum.ewon.biz/forum-50.html)
+--- Forum: Ewon Embedded Technology (https://techforum.ewon.biz/forum-51.html)
+---- Forum: Ewon Connection Tools (https://techforum.ewon.biz/forum-6.html)
+---- Thread: Commands via SMS (/thread-1175.html)



Commands via SMS - Nikolai - 14-02-2020

Hi,

EW4626B

Is there any way to switch the WAN connection from Ethernet to a 3-G modem by sending a special command via SMS?

For example like in BASIK script:

PRINT "GOING ONLINE"
 SETSYS COM,"LOAD"
 SETSYS COM,"WANCnx","1"
 SETSYS COM,"WANPermCnx","1"
 SETSYS COM,"SAVE"


Thanks,

Nikolai


RE: Commands via SMS - simon - 14-02-2020

Hi Nikolai,

Yes, it is possible.
Actually, if your 3G connection is already setup (but not connected since the Eth WAN is connected), you can simply send a SMS "Talk2MConnect" : https://hmsnetworks.blob.core.windows.net/www/docs/librariesprovider10/downloads-monitored/manuals/knowledge-base/kb-0205-00-en-talk2m-wake-up-sms.pdf?sfvrsn=256956d7_5

and the Ewon should switch to 3G automatically.

If you really want to script it, you should use the ONSMS event in your script to read incoming SMS : https://developer.ewon.biz/content/sms-reception-ewon

Simon


RE: Commands via SMS - Nikolai - 20-02-2020

(14-02-2020, 06:03 PM)simon Wrote: Hi Nikolai,

Yes, it is possible.
Actually, if your 3G connection is already setup (but not connected since the Eth WAN is connected), you can simply send a SMS "Talk2MConnect" : https://hmsnetworks.blob.core.windows.net/www/docs/librariesprovider10/downloads-monitored/manuals/knowledge-base/kb-0205-00-en-talk2m-wake-up-sms.pdf?sfvrsn=256956d7_5

and the Ewon should switch to 3G automatically.

If you really want to script it, you should use the ONSMS event in your script to read incoming SMS : https://developer.ewon.biz/content/sms-reception-ewon

Simon
Hi Simon, 

if Eth WAN connection was set on EWON the wake up sms doesn't work, perhaps it works on flexy but not on ew4626B.

Nikolai


RE: Commands via SMS - simon - 20-02-2020

Nikolai,

What firmware do you use ? You should use the last one (Indeed I am not 100% sure it works with CD)

Simon


RE: Commands via SMS - Nikolai - 25-02-2020

Thank you Simon, I'll test it in future.