{"id":8281,"date":"2015-06-29T11:27:49","date_gmt":"2015-06-29T16:27:49","guid":{"rendered":"http:\/\/www.multitech.net\/developer\/?page_id=8281"},"modified":"2022-08-17T11:41:27","modified_gmt":"2022-08-17T16:41:27","slug":"getting-started-with-lora-conduit-mlinux","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/lora\/getting-started-with-lora-conduit-mlinux\/","title":{"rendered":"Getting Started with LoRa Conduit mLinux (LoRa Configuration)"},"content":{"rendered":"<p><em>For\u00a0Conduit<sup>\u00ae<\/sup> MTCDT and MTCAP models<\/em><\/p>\n<h3>Setting up the Conduit<\/h3>\n<p>Prior to starting LoRa, make sure you have properly installed and cabled your LoRa hardware.<\/p>\n<ol>\n<li>Power up\u00a0 your device and wait for it to boot up.<\/li>\n<li>Login to the console. Refer to <a href='https:\/\/www.multitech.net\/developer\/software\/mlinux\/getting-started-with-conduit-mlinux\/' title='Getting Started with mLinux'>Getting Started with mLinux<\/a> if needed.<\/li>\n<li>Issue these commands on the Conduit:\n<pre class=\"brush:shell\">$ mkdir \/var\/config\/lora\r\n$ cp \/opt\/lora\/lora-network-server.conf.sample \/var\/config\/lora\/lora-network-server.conf<\/pre>\n<\/li>\n<li>Edit <code>\/var\/config\/lora\/lora-network-server.conf<\/code> and modify these settings as needed (use <code>vi<\/code> or <code>nano<\/code>). For advanced LoRa settings, go to <a href='https:\/\/www.multitech.net\/developer\/software\/lora\/conduit-mlinux-lora-communication\/conduit-mlinux-advance-lora-configuration\/' title='Conduit mLinux: Advanced LoRa Configuration'>Conduit mLinux: Advanced LoRa Configuration<\/a>\n<div class=\"tablenoborder\">\n<table style=\"width: 100%;\" border=\"1\" frame=\"border\" rules=\"all\" cellspacing=\"0\" cellpadding=\"4\">\n<thead align=\"left\">\n<tr>\n<th class=\"cellrowborder\" valign=\"top\" width=\"100\">Field<\/th>\n<th class=\"cellrowborder\" valign=\"top\" width=\"130\">LORA-915, 923, 920 (NA, AU, JP, KR)<\/th>\n<th class=\"cellrowborder\" valign=\"top\" width=\"130\">LORA-868, 865 (EU, IN)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td class=\"cellrowborder\" valign=\"top\"><strong>lora[&#8220;frequencyBand&#8221;]:<\/strong><\/td>\n<td class=\"cellrowborder\" valign=\"top\">&#8220;915&#8221;<\/td>\n<td class=\"cellrowborder\" valign=\"top\">&#8220;868&#8221;<\/td>\n<\/tr>\n<tr>\n<td class=\"cellrowborder\" valign=\"top\"><strong><b>lora[&#8220;channelPlan&#8221;]:<\/b><\/strong><\/td>\n<td class=\"cellrowborder\" valign=\"top\">&#8220;US915&#8221;, &#8220;AU915&#8221;, &#8220;AS923&#8221;, &#8220;KR920&#8221;<\/td>\n<td class=\"cellrowborder\" valign=\"top\">&#8220;EU868&#8221;, &#8220;IN865&#8221;<\/td>\n<\/tr>\n<tr>\n<td class=\"cellrowborder\" valign=\"top\"><strong>lora[&#8220;frequencySubBand&#8221;]:<\/strong><\/td>\n<td class=\"cellrowborder\" valign=\"top\">(integer: 1 to 8)<\/td>\n<td class=\"cellrowborder\" valign=\"top\">Not applicable<\/td>\n<\/tr>\n<tr>\n<td class=\"cellrowborder\" valign=\"top\"><strong>lora[&#8220;frequencyEU&#8221;]:<\/strong><\/td>\n<td class=\"cellrowborder\" valign=\"top\">Not applicable<\/td>\n<td class=\"cellrowborder\" valign=\"top\">default: 869500000<br \/>\nrange: [863500000 &#8211; 867500000]<br \/>\nand [869100000 &#8211; 869500000]<\/td>\n<\/tr>\n<tr>\n<td class=\"cellrowborder\" valign=\"top\"><strong>network[&#8220;name&#8221;]:<\/strong><\/td>\n<td class=\"cellrowborder\" colspan=\"2\" valign=\"top\">Name of your LoRa network (string, 8-char min, case sensitive)<\/td>\n<\/tr>\n<tr>\n<td class=\"cellrowborder\" valign=\"top\"><strong>network[&#8220;passphrase&#8221;]: <\/strong><\/td>\n<td class=\"cellrowborder\" colspan=\"2\" valign=\"top\">Security passphrase for your LoRa network (string, 8-char min, case sensitive)<\/td>\n<\/tr>\n<tr>\n<td class=\"cellrowborder\" valign=\"top\"><strong>network[&#8220;public&#8221;]: <\/strong><\/td>\n<td class=\"cellrowborder\" colspan=\"2\" valign=\"top\">Choose from 0: Private MTS, 1: Public LoRaWAN or 2: Private LoRaWAN, Private Options use SyncWord 0x12 vs Public SyncWord 0x34<\/td>\n<\/tr>\n<tr>\n<td class=\"cellrowborder\" valign=\"top\"><strong>network[&#8220;joinDelay&#8221;]: <\/strong><\/td>\n<td class=\"cellrowborder\" colspan=\"2\" valign=\"top\">Set to desired Join Delay, default 5 seconds<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/li>\n<li>Restart the network server.<br \/>\n<code>$ \/etc\/init.d\/lora-network-server restart<\/code><\/li>\n<li>Start mosquitto client:<br \/>\n<code>$ mosquitto_sub -t lora\/+\/+ -v<\/code><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h3>Setting Up the mDot<\/h3>\n<ol>\n<li>Establish a serial connection to the\u00a0mDot<sup>\u2122<\/sup>\n<ol>\n<li>Connect your PC to the DB9 serial connector on the UDK<\/li>\n<li>Open a terminal session using an application such as <a href=\"http:\/\/ttssh2.osdn.jp\/\">TeraTerm<\/a> with baud rate 115,200<\/li>\n<\/ol>\n<\/li>\n<li>Issue these commands with the same values you set for the Conduit:\n<ul>\n<li><code>AT+PN=value<\/code> (Match Public Network setting)<\/li>\n<li><code>AT+JD=value<\/code> (Match Join Delay setting)<\/li>\n<li><code>AT+FSB=value<\/code> (915 NA only | value = frequencySubBand from your Conduit)<\/li>\n<li><code>AT+NI=1,value<\/code> (value = Network Name for your Conduit)<\/li>\n<li><code>AT+NK=1,value <\/code>(value = Network Passphrase for your Conduit)<\/li>\n<li><code>AT&amp;W <\/code>(save settings)<\/li>\n<li><code>ATZ <\/code>(restart)<\/li>\n<\/ul>\n<\/li>\n<li>Join the network: <code>AT+JOIN<\/code><\/li>\n<li>Send data with ACK requested:\n<ul>\n<li><code>AT+ACK=1<\/code><\/li>\n<li><code>AT+SEND=hello world<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"aligncenter\" alt=\"screenshot of mDot setup\" src=\"https:\/\/www.multitech.net\/developer\/wp-content\/uploads\/2015\/08\/mdot-setup.png\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Next Steps<\/h3>\n<ul>\n<li><a href='https:\/\/www.multitech.net\/developer\/software\/lora\/conduit-mlinux-lora-communication\/' title='Conduit mLinux: LoRa Communication'>Conduit mLinux: LoRa Communication<\/a><\/li>\n<li><a href='https:\/\/www.multitech.net\/developer\/software\/lora\/troubleshooting-lora-communication\/' title='Troubleshooting LoRa Communication'>Troubleshooting LoRa Communication<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>For\u00a0Conduit\u00ae MTCDT and MTCAP models Setting up the Conduit Prior to starting LoRa, make sure you have properly installed and cabled your LoRa hardware. Power up\u00a0 your device and wait for it to boot up. Login to the console. Refer to if needed. Issue these commands on the Conduit: $ mkdir \/var\/config\/lora $ cp \/opt\/lora\/lora-network-server.conf.sample [&hellip;]<\/p>\n","protected":false},"author":537,"featured_media":0,"parent":8462,"menu_order":5,"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-8281","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/8281","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\/537"}],"replies":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/comments?post=8281"}],"version-history":[{"count":78,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/8281\/revisions"}],"predecessor-version":[{"id":8512,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/8281\/revisions\/8512"}],"up":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/8462"}],"wp:attachment":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/media?parent=8281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}