

{"id":631,"date":"2016-04-21T18:49:18","date_gmt":"2016-04-21T16:49:18","guid":{"rendered":"http:\/\/project.inria.fr\/peach\/?page_id=631"},"modified":"2017-10-31T15:56:53","modified_gmt":"2017-10-31T14:56:53","slug":"dust","status":"publish","type":"page","link":"https:\/\/project.inria.fr\/peach\/wiki\/dust\/","title":{"rendered":"Dust"},"content":{"rendered":"<h2>Update the Mote Firmware<\/h2>\n<p>This section describes the steps to update a node firmware.<\/p>\n<ul>\n<li>Download the latest firmware release <a href=\"https:\/\/bitbucket.org\/ddujovne\/peach_sht31_dust\/downloads\">from the repository<\/a>.<\/li>\n<li>Flash the firmware into the node (<a href=\"https:\/\/dustcloud.atlassian.net\/wiki\/pages\/viewpage.action?pageId=39223354\">help here<\/a>)<\/li>\n<li>Connect to the node CLI interface (using screen, minicom, tmux&#8230;):\n<ul>\n<li>baudrate 9600 (8N1), without flow control<\/li>\n<\/ul>\n<\/li>\n<li>Check the configuration:\n<ul>\n<li>The period should be 300 (5m, in seconds)\n<ul>\n<li>&gt; config<\/li>\n<li>&gt; period 300<\/li>\n<\/ul>\n<\/li>\n<li>The netid should be the same as the deployed network (1612 in Junin)\n<ul>\n<li>&gt; mget netid<\/li>\n<li>&gt; mset netid 1612<\/li>\n<\/ul>\n<\/li>\n<li>The join duty cycle ?\n<ul>\n<li>&gt; mget joindc<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>Update the Manager Firmware<\/h2>\n<ul>\n<li>Download the latest Firmware from you MyLinear Account<\/li>\n<li>Download the tools:\n<ul>\n<li>Loader<\/li>\n<li>Partition Table<\/li>\n<li>Fuse Table<\/li>\n<\/ul>\n<\/li>\n<li>TODO finish<\/li>\n<\/ul>\n<h2>Create Test Network<\/h2>\n<ul>\n<li>Plug the motes to the interface board and turn the mote on<\/li>\n<li>Four USB\/Serial interfaces should be available\n<ul>\n<li>Ignore 1rst and 2nd one<\/li>\n<li>3rd one is for CLI communications<\/li>\n<li>4th one is for API communications<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>CLI Communication<\/h3>\n<ul>\n<li>Connect to 3rd interface through serial 9600-8-N-1 (No flow control)<\/li>\n<li>On the manager:\n<pre>login user<\/pre>\n<\/li>\n<\/ul>\n<h3>API Communication<\/h3>\n<ul>\n<li>Clone SmartMeshSDK\n<pre>git clone https:\/\/github.com\/dustcloud\/smartmeshsdk.git<\/pre>\n<\/li>\n<li>Run the APIExplorer\n<ul>\n<li>install pip requirements (better with virtualenv)<\/li>\n<li>cd smartmeshsdk\/app\/APIExplorer<\/li>\n<li>python APIExplorer.py<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>Network Health<\/h2>\n<ul>\n<li>Connect to the INTA VPN<\/li>\n<li>Connect to the Raspberry\n<ul>\n<li>ssh pi@peachpi.savethepeaches.com<\/li>\n<\/ul>\n<\/li>\n<li>Attach to the serial screen\n<pre>screen -r serial<\/pre>\n<\/li>\n<li>Run Dust commands\n<ul>\n<li>show motes list\n<ul>\n<li>\n<pre>sm<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<li>ping mote from mote id\n<ul>\n<li>\n<pre>ping mote 2<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<li>show statistics\n<ul>\n<li>\n<pre>show stat<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>Detach from screen\n<pre>Ctrl-a d<\/pre>\n<\/li>\n<\/ul>\n<h2><\/h2>\n<h2>Documentation<\/h2>\n<p>To start:<\/p>\n<ul>\n<li><a href=\"http:\/\/dustcloud.org\/\">http:\/\/dustcloud.org\/<\/a><\/li>\n<li><a href=\"https:\/\/dustcloud.atlassian.net\/wiki\/display\/ALLDOC\/Dust+Academy\">https:\/\/dustcloud.atlassian.net\/wiki\/display\/ALLDOC\/Dust+Academy<\/a><\/li>\n<li><a href=\"http:\/\/cds.linear.com\/docs\/en\/datasheet\/5800ipmfa.pdf\">http:\/\/cds.linear.com\/docs\/en\/datasheet\/5800ipmfa.pdf<\/a><\/li>\n<\/ul>\n<p>Motes:<\/p>\n<ul>\n<li style=\"padding-left: 30px;\"><a href=\"http:\/\/www.linear.com\/products\/SmartMesh_IP\">http:\/\/www.linear.com\/products\/SmartMesh_IP<\/a><\/li>\n<li style=\"padding-left: 30px;\"><a href=\"http:\/\/cds.linear.com\/docs\/en\/user-guide\/SmartMesh_IP_User_s_Guide.pdf\" target=\"_blank\" rel=\"noopener\">http:\/\/cds.linear.com\/docs\/en\/user-guide\/SmartMesh_IP_User_s_Guide.pdf<\/a><\/li>\n<li style=\"padding-left: 30px;\" data-wpview-marker=\"http%3A%2F%2Fcds.linear.com%2Fdocs%2Fen%2Fdesign-note%2FSmartMesh_IP_Mote_CLI_Guide.pdf\"><a href=\"http:\/\/cds.linear.com\/docs\/en\/design-note\/SmartMesh_IP_Mote_CLI_Guide.pdf\" target=\"_blank\" rel=\"noopener\">http:\/\/cds.linear.com\/docs\/en\/design-note\/SmartMesh_IP_Mote_CLI_Guide.pdf<\/a><\/li>\n<li style=\"padding-left: 30px;\" data-wpview-marker=\"http%3A%2F%2Fcds.linear.com%2Fdocs%2Fen%2Fsoftware-and-simulation%2FSmartMesh_IP_Tools_Guide.pdf\"><a href=\"http:\/\/cds.linear.com\/docs\/en\/software-and-simulation\/SmartMesh_IP_Tools_Guide.pdf\" target=\"_blank\" rel=\"noopener\">http:\/\/cds.linear.com\/docs\/en\/software-and-simulation\/SmartMesh_IP_Tools_Guide.pdf<\/a><\/li>\n<li style=\"padding-left: 30px;\" data-wpview-marker=\"http%3A%2F%2Fcds.linear.com%2Fdocs%2Fen%2Fapplication-note%2FSmartMesh_IP_Application_Notes.pdf\"><a href=\"http:\/\/cds.linear.com\/docs\/en\/application-note\/SmartMesh_IP_Application_Notes.pdf\" target=\"_blank\" rel=\"noopener\">http:\/\/cds.linear.com\/docs\/en\/application-note\/SmartMesh_IP_Application_Notes.pdf<\/a><\/li>\n<\/ul>\n<p>Manager:<\/p>\n<ul>\n<li><a href=\"http:\/\/cds.linear.com\/docs\/en\/design-note\/SmartMesh_IP_Embedded_Manager_CLI_Guide.pdf\" target=\"_blank\" rel=\"noopener\">http:\/\/cds.linear.com\/docs\/en\/design-note\/SmartMesh_IP_Embedded_Manager_CLI_Guide.pdf<\/a><\/li>\n<li data-wpview-marker=\"http%3A%2F%2Fcds.linear.com%2Fdocs%2Fen%2Fdesign-note%2FSmartMesh_IP_Embedded_Manager_API_Guide.pdf\"><a href=\"http:\/\/cds.linear.com\/docs\/en\/design-note\/SmartMesh_IP_Embedded_Manager_API_Guide.pdf\" target=\"_blank\" rel=\"noopener\">http:\/\/cds.linear.com\/docs\/en\/design-note\/SmartMesh_IP_Embedded_Manager_API_Guide.pdf<\/a><\/li>\n<li data-wpview-marker=\"http%3A%2F%2Fcds.linear.com%2Fdocs%2Fen%2Fdesign-note%2FSmartMesh_IP_Embedded_Manager_API_Guide.pdf\"><a href=\"http:\/\/cds.linear.com\/docs\/en\/application-note\/SmartMesh_IP_Easy_Start_Guide_for_the_Embedded_Manager.pdf\" target=\"_blank\" rel=\"noopener\">http:\/\/cds.linear.com\/docs\/en\/application-note\/SmartMesh_IP_Easy_Start_Guide_for_the_Embedded_Manager.pdf<\/a><\/li>\n<\/ul>\n<p>Integration:<\/p>\n<ul>\n<li><a href=\"http:\/\/cds.linear.com\/docs\/en\/application-note\/Hardware_Integration_Application_Notes.pdf\" target=\"_blank\" rel=\"noopener\">http:\/\/cds.linear.com\/docs\/en\/application-note\/Hardware_Integration_Application_Notes.pdf<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Update the Mote Firmware This section describes the steps to update a node firmware. Download the latest firmware release from the repository. Flash the firmware into the node (help here) Connect to the node CLI interface (using screen, minicom, tmux&#8230;): baudrate 9600 (8N1), without flow control Check the configuration: The\u2026<\/p>\n<p> <a class=\"continue-reading-link\" href=\"https:\/\/project.inria.fr\/peach\/wiki\/dust\/\"><span>Continue reading<\/span><i class=\"crycon-right-dir\"><\/i><\/a> <\/p>\n","protected":false},"author":942,"featured_media":0,"parent":316,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-631","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/project.inria.fr\/peach\/wp-json\/wp\/v2\/pages\/631","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/project.inria.fr\/peach\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/project.inria.fr\/peach\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/project.inria.fr\/peach\/wp-json\/wp\/v2\/users\/942"}],"replies":[{"embeddable":true,"href":"https:\/\/project.inria.fr\/peach\/wp-json\/wp\/v2\/comments?post=631"}],"version-history":[{"count":15,"href":"https:\/\/project.inria.fr\/peach\/wp-json\/wp\/v2\/pages\/631\/revisions"}],"predecessor-version":[{"id":857,"href":"https:\/\/project.inria.fr\/peach\/wp-json\/wp\/v2\/pages\/631\/revisions\/857"}],"up":[{"embeddable":true,"href":"https:\/\/project.inria.fr\/peach\/wp-json\/wp\/v2\/pages\/316"}],"wp:attachment":[{"href":"https:\/\/project.inria.fr\/peach\/wp-json\/wp\/v2\/media?parent=631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}