{"id":9841,"date":"2015-11-09T08:00:52","date_gmt":"2015-11-09T14:00:52","guid":{"rendered":"http:\/\/www.multitech.net\/developer\/?page_id=9841"},"modified":"2019-09-04T22:45:56","modified_gmt":"2019-09-05T03:45:56","slug":"network-join-modes","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/mdot-software\/network-join-modes\/","title":{"rendered":"Network Join Modes"},"content":{"rendered":"<h3>Manual<\/h3>\n<p>The\u00a0mDot<sup>\u2122<\/sup> can also be activated manually if supported by network server.<\/p>\n<ul>\n<li><code>AT+NJM=0<\/code> Configure mDot for manual join mode<\/li>\n<li><code>AT+NA<\/code> Network Address Network address (devAddr in LoraMac) (4 bytes)<\/li>\n<li><code>AT+NSK<\/code> Network Session Key Network session encryption key (16 bytes)<\/li>\n<li><code>AT+DSK<\/code> Data Session Key Data session encryption key (16 bytes)<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>OTA &#8211; Network Join<\/h3>\n<p>After configuring the NetworkID and NetworkKey on the mDot. A join packet can be sent with the DeviceID, NetworkID and a dev-nonce value. The network server will check the NetworkID and assign an address which is returned with the NetID and app-nonce value. Using the network address, NetID, nonce values and NetworkKey, session keys will be generated independently on the device and network server for encrypting transmissions during the session.<\/p>\n<ul>\n<li><code>AT+NJM=1<\/code> Configure mDot for OTA join mode (default)<\/li>\n<li><code>AT+NI<\/code> NetworkID<\/li>\n<li><code>AT+NK<\/code> NetworkKey<\/li>\n<li><code>AT+JOIN<\/code> Send a join request to the server<\/li>\n<li><code>AT+NJS<\/code> Display current join status 0:not joined, 1:joined<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>AUTO OTA &#8211; Network Join<\/h3>\n<p>After a successful join the session information will be stored in flash. This session info will be restored when waking from sleep. If the device is reset or the power cycled the session info will be reset and a join will be attempted. The session info will be valid as long as the mDot checks in before the lease-time configured on the\u00a0Conduit<sup>\u00ae<\/sup> expires.<\/p>\n<ul>\n<li><code>AT+NJM=2<\/code> Configure mDot for AUTO OTA join mode<\/li>\n<li><code>AT+NI<\/code> NetworkID<\/li>\n<li><code>AT+NK<\/code> NetworkKey<\/li>\n<li><code>AT+JOIN<\/code> Reloads the session info from flash<\/li>\n<li><code>AT+JOIN=1<\/code> Force mDot to perform OTA join regardless for saved session<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Manual The\u00a0mDot\u2122 can also be activated manually if supported by network server. AT+NJM=0 Configure mDot for manual join mode AT+NA Network Address Network address (devAddr in LoraMac) (4 bytes) AT+NSK Network Session Key Network session encryption key (16 bytes) AT+DSK Data Session Key Data session encryption key (16 bytes) &nbsp; OTA &#8211; Network Join After [&hellip;]<\/p>\n","protected":false},"author":1337,"featured_media":0,"parent":8383,"menu_order":3,"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-9841","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/9841","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\/1337"}],"replies":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/comments?post=9841"}],"version-history":[{"count":10,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/9841\/revisions"}],"predecessor-version":[{"id":16103,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/9841\/revisions\/16103"}],"up":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/8383"}],"wp:attachment":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/media?parent=9841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}