{"id":13299,"date":"2016-06-22T10:41:35","date_gmt":"2016-06-22T15:41:35","guid":{"rendered":"http:\/\/www.multitech.net\/developer\/?page_id=13299"},"modified":"2023-06-26T10:57:10","modified_gmt":"2023-06-26T15:57:10","slug":"sms","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/mtr-software\/mtr-api-reference\/collection-endpoints\/sms\/","title":{"rendered":"sms"},"content":{"rendered":"<p>Description: settings for SMS : OBJECT<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<thead>\n<tr>\n<td valign=\"top\" width=\"173\"><b>Element<\/b><\/td>\n<td valign=\"top\" width=\"54\"><b>Type<\/b><\/td>\n<td valign=\"top\" width=\"331\"><b>Description<\/b><\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td valign=\"top\" width=\"173\">enabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enables or disables SMS service on the device (default:false)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">inbox<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">Contains a list of received SMS messages<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">outbox<\/td>\n<td valign=\"top\" width=\"54\">ARRAY<\/td>\n<td valign=\"top\" width=\"331\">Contains a list of sent SMS messages<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">receivedLimit<\/td>\n<td valign=\"top\" width=\"54\">UINT<\/td>\n<td valign=\"top\" width=\"331\">Specifies the number of received SMS to keep. Set this element to 0 if you do not want to keep SMS messages. (0-1000, default:1000)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">resendLimit<\/td>\n<td valign=\"top\" width=\"54\">UINT<\/td>\n<td valign=\"top\" width=\"331\">Specifies the number of times the modem retries sending a failed SMS message. Set this element to 0 if you do not want to resend failed SMS messages. (0-10, default:0)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">sentLimit<\/td>\n<td valign=\"top\" width=\"54\">UINT<\/td>\n<td valign=\"top\" width=\"331\">Specifies the number of sent SMS messages to keep. Set this element to 0 if you do not want to keep SMS messages. (0-1000, default:1000)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">smsCommands<\/td>\n<td valign=\"top\" width=\"54\">OBJECT<\/td>\n<td valign=\"top\" width=\"331\">Available SMS commands<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 apnEnabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enable or disable control of getting of APN value using SMS service (default:false)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 cellularStatusEnabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enable or disable control of getting of cellular status using SMS service (default:false)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 checkinEnabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enable or disable control of checkin process using SMS service (default:false)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 enabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enable or disable SMS commands functionality (default:false)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 ethernetEnabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enable or disable control of getting of ethernet status using SMS service (default:false)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 geopositionEnabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">enable or disable control of getting device coordinates obtained from GPS using SMS service (default:false)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 geopositionEnabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enable or disable control of getting the device coordinates obtained from GPS using SMS service (default:false)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 lnsRestartEnabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enable or disable control of restart of LoRa Services using SMS service (default:false)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 password<\/td>\n<td valign=\"top\" width=\"54\">OBJECT<\/td>\n<td valign=\"top\" width=\"331\">Settings for SMS commands password<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0\u00a0\u00a0 customText<\/td>\n<td valign=\"top\" width=\"54\">STRING<\/td>\n<td valign=\"top\" width=\"331\">Custom password text (default:&#8221;)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0\u00a0\u00a0 enabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enable or disable password usage in SMS commands (default:true)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0\u00a0\u00a0 text<\/td>\n<td valign=\"top\" width=\"54\">STRING<\/td>\n<td valign=\"top\" width=\"331\">Custom password<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0\u00a0\u00a0 useCustomPassword<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enable or disable custom password usage in SMS commands (default:true)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 pingEnabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enable or disable control of ping command using SMS service (default:false)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 radioEnabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enable or disable control of getting of radio status using SMS service (default:false)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 rebootEnabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enable or disable control of reboot of device using SMS service (default:false)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 rmEnabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enable or disable control of remote management using SMS service (default:false)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 serialEnabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enable or disable control of getting of serial port status using SMS service (default:false)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 setCellularEnabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enable or disable control of cellular connection using SMS service (default:false)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 wanStatusEnabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enable or disable control of getting of WAN status using SMS service (default:false)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 whitelist<\/td>\n<td valign=\"top\" width=\"54\">OBJECT<\/td>\n<td valign=\"top\" width=\"331\">Defines settings for SMS commands whitelist<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0\u00a0\u00a0 enabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enable or disable whitelist usage in SMS commands (default:true)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0\u00a0\u00a0 numbers<\/td>\n<td valign=\"top\" width=\"54\"><\/td>\n<td valign=\"top\" width=\"331\">A list of phone numbers in the whitelist<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 wifiEnabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enable or disable control of getting the Wi-Fi status using SMS service (default:false)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">\u00a0 wanIpsEnabled<\/td>\n<td valign=\"top\" width=\"54\">BOOL<\/td>\n<td valign=\"top\" width=\"331\">Enable or disable getting of WAN interface IPs using SMS service (default:false)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>Examples<\/h4>\n<p><a href='https:\/\/www.multitech.net\/developer\/software\/mtr-software\/mtr-api-reference\/rcell_api_appendix\/using-curl-to-send-an-sms\/' title='Using Curl to Send an SMS'>Using Curl to Send an SMS<\/a><br \/>\n<!--%subpages(0)%--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Description: settings for SMS : OBJECT Element Type Description enabled BOOL Enables or disables SMS service on the device (default:false) inbox ARRAY Contains a list of received SMS messages outbox ARRAY Contains a list of sent SMS messages receivedLimit UINT Specifies the number of received SMS to keep. Set this element to 0 if you [&hellip;]<\/p>\n","protected":false},"author":1872,"featured_media":0,"parent":13129,"menu_order":57,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-13299","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/13299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/users\/1872"}],"replies":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/comments?post=13299"}],"version-history":[{"count":13,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/13299\/revisions"}],"predecessor-version":[{"id":33442,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/13299\/revisions\/33442"}],"up":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/13129"}],"wp:attachment":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/media?parent=13299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}