Expected completion time of this lab:
. |
DustLink is a web-based management interface for your SmartMesh IP network, similar to the configuration website for your home WiFi router. It is written entirely in Python, using the SmartMesh SDK, and is open source. This means that you can reuse/modify/adapt any part of DustLink without restriction (see the license in the DustLink source code).
Resources about DustLink:
User Guide: https://dustcloud.atlassian.net/wiki/display/DL/DustLink+Home
Source code: https://github.com/dustcloud/dustlink
Double-click on bin\dustLinkFullWeb\dustLinkFullWeb.py to start DustLink. A command window appears:
Dust Link - (c) Dust Networks > |
At this point, your Windows firewall might ask you to authorize the application. This is normal, click yes. |
At the top of the screen, login with the following:
username | admin |
---|---|
password | admin |
In the System menu, navigate to the “Managers” page. This page contains a form in which you specify the serial port(s) of your manager(s).
In the Add form, enter the API port of your manager, e.g. COM7
. This port appears in the “Manager Connections” table.
After 10s, make sure the state has transitioned from “inactive” to “active”.
Draw the topology of your network below:
|
Fill in the table below with the information gathered from your motes:
|
|
DustLink continuously gathers information about the network by sending serial commands to the manager. Every hour, it analyzes all this information and runs a number of tests. Those tests can either pass or fail. You can start the test manually. |
Click the "Run tests now" to force the tests to run.
Ask your instructor for an overview of what the tests do. |
By default, DustLink:
|