{"id":6846,"date":"2016-10-22T12:38:56","date_gmt":"2016-10-22T10:38:56","guid":{"rendered":"http:\/\/www.gsm-modem.de\/M2M\/?p=6846"},"modified":"2016-10-22T12:38:56","modified_gmt":"2016-10-22T10:38:56","slug":"wakeup-of-gprs-on-sms-and-voice-call","status":"publish","type":"post","link":"http:\/\/www.gsm-modem.de\/M2M\/m2m-faq\/wakeup-of-gprs-on-sms-and-voice-call\/","title":{"rendered":"Wakeup of GPRS on SMS and voice call"},"content":{"rendered":"<div>IoT \/ M2M question by email to me:<\/div>\n<div><strong>Q:<\/strong> Hi Harald,I found you on <a href=\"http:\/\/m2m.com\">m2m.com<\/a> forum discussion. I am an M2M enthusiast building an M2M PoC. I noticed in one of the <a href=\"http:\/\/m2m.com\">m2m.com<\/a> forum thread you suggested to Wakeup devices using SMS or Voice call. ie. Bootstrap to the GPRS network.<\/div>\n<div>I would like to know how I can implement this. Let us say I have a Raspberry Pi as a field device, what are the HW\/SW components I should be looking at to implement the scheme. Thank you for your time.<\/div>\n<div>Regards,<\/div>\n<div>Mohammad<br \/>\n<strong>A:<\/strong> Mohammad, thank you for your email. Please note that I can not offer dedicated IoT \/ M2M support free of charge. However, I will answer and share my knowledge.<br \/>\nThe MCU (e.g. Raspberry Pi) will listen or poll on incoming SMS or voice call.\u00a0 In the case of a voice call you can detect the caller ID by AT commands. If you detect a valid ID then you start to set up the GPRS connection. More secure is it to pick up the phone by AT command and to listen to incoming DTMF. If you detect valid tones then you go ahead with set up the GPRS connection and to access to your server by plain TCP\/IP or by HTPP.<br \/>\nWith SMS the process is the same. You check the incoming SMS by AT commands and it the text of the SMS is valid, then you go ahead to set up the GPRS connection.<br \/>\nA Raspberry PI is, in my opinion, the wrong device for a professional IooT \/ M2M device. It is too expensive and is charging to much power.\u00a0 An ARM Cortex on an STM32 Nucleo is much cheaper and can be migrated on chip level in mass production.<br \/>\nIf you plan something which will\u00a0 move to mass production from a few hundred to 100K+ then it makes sense to read my IoT \/ M2M Cookbook. An excerpt of my book you will get here free of charge:\u00a0<a href=\"http:\/\/www.gsm-modem.de\/M2M\/m2m_iot_cookbook\/\"> http:\/\/www.gsm-modem.de\/M2M\/m2m_iot_cookbook\/<\/a><\/div>\n<div>\n<div id=\"attachment_6256\" style=\"width: 605px\" class=\"wp-caption alignleft\"><img aria-describedby=\"caption-attachment-6256\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-6256\" src=\"http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2014\/04\/IoT-M2M-Cookbook-Cover-frame.png\" alt=\"IoT M2M Cookbook\" width=\"595\" height=\"842\" srcset=\"http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2014\/04\/IoT-M2M-Cookbook-Cover-frame.png 595w, http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2014\/04\/IoT-M2M-Cookbook-Cover-frame-283x400.png 283w\" sizes=\"(max-width: 595px) 100vw, 595px\" \/><p id=\"caption-attachment-6256\" class=\"wp-caption-text\">Cover of the IoT M2M Cookbook<\/p><\/div>\n<\/div>\n<div><\/div>\n<div class=\"shariff shariff-align-left shariff-widget-align-left\"><ul class=\"shariff-buttons theme-default orientation-horizontal buttonsize-small\"><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=http%3A%2F%2Fwww.gsm-modem.de%2FM2M%2Fm2m-faq%2Fwakeup-of-gprs-on-sms-and-voice-call%2F&text=Wakeup%20of%20GPRS%20on%20SMS%20and%20voice%20call\" title=\"Share on X\" aria-label=\"Share on X\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><span class=\"shariff-text\">share<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=http%3A%2F%2Fwww.gsm-modem.de%2FM2M%2Fm2m-faq%2Fwakeup-of-gprs-on-sms-and-voice-call%2F\" title=\"Share on Facebook\" aria-label=\"Share on Facebook\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><span class=\"shariff-text\">share<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button linkedin shariff-nocustomcolor\" style=\"background-color:#1488bf\"><a href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=http%3A%2F%2Fwww.gsm-modem.de%2FM2M%2Fm2m-faq%2Fwakeup-of-gprs-on-sms-and-voice-call%2F\" title=\"Share on LinkedIn\" aria-label=\"Share on LinkedIn\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0077b5; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 32\"><path fill=\"#0077b5\" d=\"M6.2 11.2v17.7h-5.9v-17.7h5.9zM6.6 5.7q0 1.3-0.9 2.2t-2.4 0.9h0q-1.5 0-2.4-0.9t-0.9-2.2 0.9-2.2 2.4-0.9 2.4 0.9 0.9 2.2zM27.4 18.7v10.1h-5.9v-9.5q0-1.9-0.7-2.9t-2.3-1.1q-1.1 0-1.9 0.6t-1.2 1.5q-0.2 0.5-0.2 1.4v9.9h-5.9q0-7.1 0-11.6t0-5.3l0-0.9h5.9v2.6h0q0.4-0.6 0.7-1t1-0.9 1.6-0.8 2-0.3q3 0 4.9 2t1.9 6z\"\/><\/svg><\/span><span class=\"shariff-text\">share<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button mailto shariff-nocustomcolor\" style=\"background-color:#a8a8a8\"><a href=\"mailto:?body=http%3A%2F%2Fwww.gsm-modem.de%2FM2M%2Fm2m-faq%2Fwakeup-of-gprs-on-sms-and-voice-call%2F&subject=Wakeup%20of%20GPRS%20on%20SMS%20and%20voice%20call\" title=\"Send by email\" aria-label=\"Send by email\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#999; color:#fff\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#999\" d=\"M32 12.7v14.2q0 1.2-0.8 2t-2 0.9h-26.3q-1.2 0-2-0.9t-0.8-2v-14.2q0.8 0.9 1.8 1.6 6.5 4.4 8.9 6.1 1 0.8 1.6 1.2t1.7 0.9 2 0.4h0.1q0.9 0 2-0.4t1.7-0.9 1.6-1.2q3-2.2 8.9-6.1 1-0.7 1.8-1.6zM32 7.4q0 1.4-0.9 2.7t-2.2 2.2q-6.7 4.7-8.4 5.8-0.2 0.1-0.7 0.5t-1 0.7-0.9 0.6-1.1 0.5-0.9 0.2h-0.1q-0.4 0-0.9-0.2t-1.1-0.5-0.9-0.6-1-0.7-0.7-0.5q-1.6-1.1-4.7-3.2t-3.6-2.6q-1.1-0.7-2.1-2t-1-2.5q0-1.4 0.7-2.3t2.1-0.9h26.3q1.2 0 2 0.8t0.9 2z\"\/><\/svg><\/span><span class=\"shariff-text\">email<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button whatsapp shariff-nocustomcolor\" style=\"background-color:#5cbe4a\"><a href=\"https:\/\/api.whatsapp.com\/send?text=http%3A%2F%2Fwww.gsm-modem.de%2FM2M%2Fm2m-faq%2Fwakeup-of-gprs-on-sms-and-voice-call%2F%20Wakeup%20of%20GPRS%20on%20SMS%20and%20voice%20call\" title=\"Share on Whatsapp\" aria-label=\"Share on Whatsapp\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#34af23; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#34af23\" d=\"M17.6 17.4q0.2 0 1.7 0.8t1.6 0.9q0 0.1 0 0.3 0 0.6-0.3 1.4-0.3 0.7-1.3 1.2t-1.8 0.5q-1 0-3.4-1.1-1.7-0.8-3-2.1t-2.6-3.3q-1.3-1.9-1.3-3.5v-0.1q0.1-1.6 1.3-2.8 0.4-0.4 0.9-0.4 0.1 0 0.3 0t0.3 0q0.3 0 0.5 0.1t0.3 0.5q0.1 0.4 0.6 1.6t0.4 1.3q0 0.4-0.6 1t-0.6 0.8q0 0.1 0.1 0.3 0.6 1.3 1.8 2.4 1 0.9 2.7 1.8 0.2 0.1 0.4 0.1 0.3 0 1-0.9t0.9-0.9zM14 26.9q2.3 0 4.3-0.9t3.6-2.4 2.4-3.6 0.9-4.3-0.9-4.3-2.4-3.6-3.6-2.4-4.3-0.9-4.3 0.9-3.6 2.4-2.4 3.6-0.9 4.3q0 3.6 2.1 6.6l-1.4 4.2 4.3-1.4q2.8 1.9 6.2 1.9zM14 2.2q2.7 0 5.2 1.1t4.3 2.9 2.9 4.3 1.1 5.2-1.1 5.2-2.9 4.3-4.3 2.9-5.2 1.1q-3.5 0-6.5-1.7l-7.4 2.4 2.4-7.2q-1.9-3.2-1.9-6.9 0-2.7 1.1-5.2t2.9-4.3 4.3-2.9 5.2-1.1z\"\/><\/svg><\/span><span class=\"shariff-text\">share<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button rss shariff-nocustomcolor\" style=\"background-color:#ff8c00\"><a href=\"http:\/\/www.gsm-modem.de\/M2M\/feed\/rss\/\" title=\"RSS feed\" aria-label=\"RSS feed\" role=\"button\" class=\"shariff-link\" style=\"; background-color:#fe9312; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#fe9312\" d=\"M4.3 23.5c-2.3 0-4.3 1.9-4.3 4.3 0 2.3 1.9 4.2 4.3 4.2 2.4 0 4.3-1.9 4.3-4.2 0-2.3-1.9-4.3-4.3-4.3zM0 10.9v6.1c4 0 7.7 1.6 10.6 4.4 2.8 2.8 4.4 6.6 4.4 10.6h6.2c0-11.7-9.5-21.1-21.1-21.1zM0 0v6.1c14.2 0 25.8 11.6 25.8 25.9h6.2c0-17.6-14.4-32-32-32z\"\/><\/svg><\/span><span class=\"shariff-text\">RSS feed<\/span>&nbsp;<\/a><\/li><\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>IoT \/ M2M question by email to me: Q: Hi Harald,I found you on m2m.com forum discussion. I am an M2M enthusiast building an M2M PoC. I noticed in one of the m2m.com forum thread you suggested to Wakeup devices using SMS or Voice call. ie. Bootstrap to the GPRS network. I would like to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":6256,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[3],"tags":[51,58,59,13],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/posts\/6846"}],"collection":[{"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/comments?post=6846"}],"version-history":[{"count":2,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/posts\/6846\/revisions"}],"predecessor-version":[{"id":6848,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/posts\/6846\/revisions\/6848"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/media\/6256"}],"wp:attachment":[{"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/media?parent=6846"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/categories?post=6846"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/tags?post=6846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}