{"id":8375,"date":"2019-08-23T10:39:30","date_gmt":"2019-08-23T13:39:30","guid":{"rendered":"http:\/\/kb.elipse.com.br\/en\/?p=8375"},"modified":"2019-11-29T11:17:44","modified_gmt":"2019-11-29T14:17:44","slug":"sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/","title":{"rendered":"Sending SMS messages via Elipse E3 with Elipse GSM driver."},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>To <a href=\"https:\/\/kb.elipse.com.br\/en\/kb34883-sending-sms-messages-via-e3\/\" target=\"_blank\" rel=\"noopener noreferrer\">send SMS messages via Elipse E3<\/a>, you will need to use the <strong>Elipse GSM <\/strong>driver. In summary, this driver allows Elipse E3 to send and receive Modem commands via text messages, called AT commands.<\/p>\n<p>You can find several sites online that will explain which <a href=\"https:\/\/m2msupport.net\/m2msupport\/atclac-list-all-available-at-commands\/\" target=\"_blank\" rel=\"noopener noreferrer\">AT commands are available<\/a>. To send SMS messages, you will need to fire only a few commands.<\/p>\n<h2>Modem<\/h2>\n<p>The Modem we used for developing this test is the ZTE MF710. You will need to add a chip that can send SMS (please refer to the chip provider for costs of this service).<\/p>\n<p>When you purchase the Modem, it may come with a CD that has the required drivers. Otherwise, when you plug the modem to the machine, the option for driver installation will pop up.<\/p>\n<p>Soon after driver installation, you will be able to check the installed interfaces at the Windows device manager.<\/p>\n<p><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5507\/1.png\" alt=\"\" width=\"371\" height=\"131\" align=\"bottom\" border=\"0\" \/><\/p>\n<p>In this case, for example, the driver must be set up to connect to COM5.<\/p>\n<p>For this Modem, we employed <a href=\"https:\/\/m2msupport.net\/m2msupport\/atcfun-set-phone-functionality\/\" target=\"_blank\" rel=\"noopener noreferrer\">AT+CFUN<\/a> command to enable its use. This command sets the level of functionality in the MT: &#8220;full functionality&#8221; is where the highest level of power is drawn, and &#8220;minimum functionality&#8221; is where minimum power is drawn. The possible values for this command are:<\/p>\n<ul>\n<li>0: minimum functionality<\/li>\n<li>1: full functionality<\/li>\n<li>2: disable phone transmit RF circuits only<\/li>\n<li>3: disable phone receive RF circuits only<\/li>\n<li>4: disable phone both transmit and receive RF circuits<\/li>\n<\/ul>\n<p>In this case, we sent value 1 to this command to enable the Modem. Keep in mind that when you disconnect the Modem and then reconnect it to the machine, you will need to send the command again. A possible event to execute this command is the driver&#8217;s AfterStart event.<\/p>\n<p>In addition to the AT+CFUN command, you will also need to enable Text Mode (AT+CMGF=1) in the driver; this will enable SMS sending. We recommend that you enable this mode soon after executing the command to enable the Modem.<\/p>\n<h2>SMS Sending<\/h2>\n<p>Right after the commands are executed, the SMS sending will take place. To do so, you will need to write two tags in the driver, to implement the following commands:<\/p>\n<p>1 \u2013 AT+CMGS=\u201d<phonenumber\u201d>\n<p>2 \u2013 Text_Message<\/p>\n<p>Notice that \u201cphonenumber\u201d must be a string; however, since the tag will contain only numbers, the driver may interpret this tag as numerical, and this can cause errors when writing the CMGS command. Therefore, we recommend always converting the value into string via scripts in the command.<\/p>\n<h2>Tips<\/h2>\n<ul>\n<li>The driver&#8217;s default timeout is 1 second. We recommend increasing this time (for example, up to 5 seconds), because it may take longer for the Modem to respond to the command.<\/li>\n<li>We also recommend setting up the driver to write asynchronously, thus avoiding the application from hanging during writing.<\/li>\n<\/ul>\n<h2>Conclusion<\/h2>\n<p>The application attached to this article was developed with Elipse E3 version 4.8 b352; it shows you how to send an SMS message manually, and also how to check whether the alarm has been sent. It was set up according to all the recommendations previously made is this article. The Elipse GSM driver must be updated to its latest version to make sure the application works properly.<\/p>\n<p><strong>NOTE<\/strong>: Most USB Modems support two communication modes: Text Mode and PDU Mode. The Elipse GSM driver supports only Text Mode; therefore, any Modems that are compatible only with PDU mode will not be compatible with the Elipse driver.<\/p>\n<p>For further information on SMS messages (such as AT commands, communication modes, among others), check<br \/>\n<a href=\"https:\/\/www.developershome.com\/sms\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.developershome.com\/sms\/<\/a>. Suggested reading: sections 13, 14, 15, 17, 18, 19, and 20.<\/p>\n<p>To send SMS messages without Elipse E3, try software that can open a serial terminal, such as\u00a0 <a href=\"https:\/\/realterm.sourceforge.io\/\" target=\"_blank\" rel=\"noopener noreferrer\">RealTerm<\/a> or <a href=\"https:\/\/www.putty.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Putty<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h3>Attachments:<\/h3>\n<p><a href=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/08\/8375\/Elipse_SendSMS.zip\">Elipse_SendSMS.zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction To send SMS messages via Elipse E3, you will need to use the Elipse GSM driver. In summary, this driver allows Elipse E3 to send and receive Modem commands&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[843],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Sending SMS via via Elipse E3 with Elipse GSM driver<\/title>\n<meta name=\"description\" content=\"This article shows how to set up SMS messages to be sent via Elipse E3 with a Elipse GSM driver, products from Elipse Software.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sending SMS via via Elipse E3 with Elipse GSM driver\" \/>\n<meta property=\"og:description\" content=\"This article shows how to set up SMS messages to be sent via Elipse E3 with a Elipse GSM driver, products from Elipse Software.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/\" \/>\n<meta property=\"og:site_name\" content=\"Elipse Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/elipsesoftware\" \/>\n<meta property=\"article:published_time\" content=\"2019-08-23T13:39:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-11-29T14:17:44+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5507\/1.png\" \/>\n<meta name=\"author\" content=\"Elipse Software\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Elipse Software\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/\"},\"author\":{\"name\":\"Elipse Software\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\"},\"headline\":\"Sending SMS messages via Elipse E3 with Elipse GSM driver.\",\"datePublished\":\"2019-08-23T13:39:30+00:00\",\"dateModified\":\"2019-11-29T14:17:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/\"},\"wordCount\":639,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"Elipse GSM\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/\",\"url\":\"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/\",\"name\":\"Sending SMS via via Elipse E3 with Elipse GSM driver\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2019-08-23T13:39:30+00:00\",\"dateModified\":\"2019-11-29T14:17:44+00:00\",\"description\":\"This article shows how to set up SMS messages to be sent via Elipse E3 with a Elipse GSM driver, products from Elipse Software.\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sending SMS messages via Elipse E3 with Elipse GSM driver.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kb.elipse.com.br\/#website\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"name\":\"Elipse Knowledgebase\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kb.elipse.com.br\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\",\"name\":\"Elipse Software\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"sameAs\":[\"http:\/\/www.facebook.com\/elipsesoftware\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"contentUrl\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"width\":161,\"height\":58,\"caption\":\"Elipse Software\"},\"image\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\",\"name\":\"Elipse Software\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"caption\":\"Elipse Software\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Sending SMS via via Elipse E3 with Elipse GSM driver","description":"This article shows how to set up SMS messages to be sent via Elipse E3 with a Elipse GSM driver, products from Elipse Software.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/","og_locale":"en_US","og_type":"article","og_title":"Sending SMS via via Elipse E3 with Elipse GSM driver","og_description":"This article shows how to set up SMS messages to be sent via Elipse E3 with a Elipse GSM driver, products from Elipse Software.","og_url":"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2019-08-23T13:39:30+00:00","article_modified_time":"2019-11-29T14:17:44+00:00","og_image":[{"url":"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5507\/1.png"}],"author":"Elipse Software","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Elipse Software","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/"},"author":{"name":"Elipse Software","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87"},"headline":"Sending SMS messages via Elipse E3 with Elipse GSM driver.","datePublished":"2019-08-23T13:39:30+00:00","dateModified":"2019-11-29T14:17:44+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/"},"wordCount":639,"commentCount":1,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["Elipse GSM"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/","url":"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/","name":"Sending SMS via via Elipse E3 with Elipse GSM driver","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2019-08-23T13:39:30+00:00","dateModified":"2019-11-29T14:17:44+00:00","description":"This article shows how to set up SMS messages to be sent via Elipse E3 with a Elipse GSM driver, products from Elipse Software.","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/en\/sending-sms-messages-via-elipse-e3-with-elipse-gsm-driver\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"Sending SMS messages via Elipse E3 with Elipse GSM driver."}]},{"@type":"WebSite","@id":"https:\/\/kb.elipse.com.br\/#website","url":"https:\/\/kb.elipse.com.br\/","name":"Elipse Knowledgebase","description":"","publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.elipse.com.br\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/kb.elipse.com.br\/#organization","name":"Elipse Software","url":"https:\/\/kb.elipse.com.br\/","sameAs":["http:\/\/www.facebook.com\/elipsesoftware"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/","url":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","contentUrl":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","width":161,"height":58,"caption":"Elipse Software"},"image":{"@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87","name":"Elipse Software","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","caption":"Elipse Software"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/8375"}],"collection":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=8375"}],"version-history":[{"count":11,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/8375\/revisions"}],"predecessor-version":[{"id":9563,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/8375\/revisions\/9563"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=8375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=8375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=8375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}