{"id":28455,"date":"2019-07-21T00:04:36","date_gmt":"2019-07-21T07:04:36","guid":{"rendered":"https:\/\/m2msupport.net\/m2msupport\/?page_id=28455"},"modified":"2019-07-29T23:25:50","modified_gmt":"2019-07-30T06:25:50","slug":"atmapuart-map-services-to-uart","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/atmapuart-map-services-to-uart\/","title":{"rendered":"AT!MAPUART &#8211; Map services to UART"},"content":{"rendered":"<p>Try the below script in the <a href=\"https:\/\/m2msupport.net\/m2msupport\/download-at-command-tester\/\">AT Command Tester tool<\/a><\/p>\n<pre style=\"color: blue; background-color: white; border: 1px solid black;\">\/\/Script: at!mapuart\n\/\/Map services to UART\n\n\/\/Get the support services fpr mapuart command\nAT!MAPUART=?\n\n\/\/Wait\nWAIT=1\n\n\/\/Get the current mapping of uart services\nAT!MAPUART?\n\n\/\/Supported services\n\/\/ 0\u2014UART disabled\n\/\/ 1\u2014AT command service (Note: Not available for UART2)\n\/\/ 2\u2014Diagnostic Message (DM) service\n\/\/ 3\u2014Reserved\n\/\/ 4\u2014NMEA service\n\/\/ 5\u201315\u2014Reserved\n\/\/ 16\u2014Linux Console\n\/\/ 17\u2014Customer Linux application\n\/\/<uart> (Physical UART)\n\/\/ 1\u2014UART1 (Default)\n\/\/ 2\u2014UART\n\n\/\/Map the AT Command Service to UART1\n\/\/Note that the device needs to be reset for the change to take effect.\nAT!MAPUART=1,1\n\n\/\/Wait\nWAIT=1\n\n\/\/Map the NMEA service to UART2\nAT!MAPUART=4,2\n<\/uart><\/pre>\n<p>Output of the above script in the a href=&#8221;https:\/\/m2msupport.net\/m2msupport\/download-at-command-tester\/&#8221;&gt;AT Command Tester tool<\/p>\n<pre style=\"color: blue; background-color: #ffffcc; border: 1px solid black;\">AT!MAPUART=?\n\n!MAPUART: (0-17),(1-2)\n\nOK\nAT!MAPUART?\n\n!MAPUART: 1,4\n\nOK\nAT!MAPUART=1,1\n\nOK\nAT!MAPUART=4,2\n\nOK\n<\/pre>\n<div class=\"video-responsive\"><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/WTqZLBfdj_Q\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Try the below script in the AT Command Tester tool \/\/Script: at!mapuart \/\/Map services to UART \/\/Get the support services fpr mapuart command AT!MAPUART=? \/\/Wait WAIT=1 \/\/Get the current mapping of uart services AT!MAPUART? \/\/Supported services \/\/ 0\u2014UART disabled \/\/ &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/atmapuart-map-services-to-uart\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"atcommands.php","meta":{"footnotes":""},"class_list":["post-28455","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/28455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/comments?post=28455"}],"version-history":[{"count":2,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/28455\/revisions"}],"predecessor-version":[{"id":28458,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/28455\/revisions\/28458"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=28455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}