{"id":32222,"date":"2021-11-16T17:30:17","date_gmt":"2021-11-16T23:30:17","guid":{"rendered":"http:\/\/www.multitech.net\/developer\/?page_id=32222"},"modified":"2022-08-01T14:32:30","modified_gmt":"2022-08-01T19:32:30","slug":"radio","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/mtr-software\/mtr-api-reference\/command-table\/radio\/","title":{"rendered":"Radio"},"content":{"rendered":"<p>The API supports a set of special actions using the Command Radio URL ( api\/command\/radio ). Execute a command using a POST request call method. A RESTful Get request returns an array of all available commands. : OBJECT<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<thead>\n<tr>\n<td style=\"background-color: #1d73e1;\"><span style=\"color: #ffffff;\"><b>Element<\/b><\/span><\/td>\n<td style=\"background-color: #1d73e1;\"><span style=\"color: #ffffff;\"><b>Type<\/b><\/span><\/td>\n<td style=\"background-color: #1d73e1;\"><span style=\"color: #ffffff;\"><b>Description<\/b><\/span><\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td valign=\"top\" width=\"173\">cmd<\/td>\n<td valign=\"top\" width=\"54\">ACTION<\/td>\n<td valign=\"top\" width=\"331\">Sends a string directly to the cellular radio, timeout must be in milliseconds<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">firmware_check<\/td>\n<td valign=\"top\" width=\"54\">ACTION<\/td>\n<td valign=\"top\" width=\"331\">Uploads radio firmware file to device and checks it (POST radio firmware upgrade bin file)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">firmware_pre_upgrade<\/td>\n<td valign=\"top\" width=\"54\">ACTION<\/td>\n<td valign=\"top\" width=\"331\">Prepares system for radio firmware upgrade (i.e. shuts down Node-RED, Lora Network Server, frees space for the upgrade package)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">firmware_upgrade<\/td>\n<td valign=\"top\" width=\"54\">ACTION<\/td>\n<td valign=\"top\" width=\"331\">Initiates radio firmware upgrade<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">set_mdn<\/td>\n<td valign=\"top\" width=\"54\">ACTION<\/td>\n<td valign=\"top\" width=\"331\">Sets the mobile directory number<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">supported_cellular_modes<\/td>\n<td valign=\"top\" width=\"54\">ACTION<\/td>\n<td valign=\"top\" width=\"331\">Gets a list of cellular modes that are supported on the modem<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">unlock_sim_card<\/td>\n<td valign=\"top\" width=\"54\">ACTION<\/td>\n<td valign=\"top\" width=\"331\">Unlocks SIM card<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"173\">vzw_reset_class3_apn<\/td>\n<td valign=\"top\" width=\"54\">ACTION<\/td>\n<td valign=\"top\" width=\"331\">Reset the current APN value and obtain APN from the Verizon network<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>The API supports a set of special actions using the Command Radio URL ( api\/command\/radio ). Execute a command using a POST request call method. A RESTful Get request returns an array of all available commands. : OBJECT Element Type Description cmd ACTION Sends a string directly to the cellular radio, timeout must be in [&hellip;]<\/p>\n","protected":false},"author":1478,"featured_media":0,"parent":13134,"menu_order":0,"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-32222","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/32222","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\/1478"}],"replies":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/comments?post=32222"}],"version-history":[{"count":5,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/32222\/revisions"}],"predecessor-version":[{"id":33426,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/32222\/revisions\/33426"}],"up":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/13134"}],"wp:attachment":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/media?parent=32222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}