Skip to content
Joakim Eriksson edited this page Jan 5, 2017 · 8 revisions

The sparrow demo is based on a Python based device server that keep track of sparrow devices that have joined the network. It adds a web and web socket server to enable interaction with the user.

Main features of the demo:

  • Show joined devices
  • Allow configuration of border-router and serial radio
  • Able to show sniffer data on any 802.15.4 channel as hex-dump
  • Allow RSSI scanning for detecting which channels are best for 6LoWPAN networking (3D RSSI scanner).

Starting the demo

First start up a border router (using a serial radio) on your machine. Then move to the examples/sparrow/ directory.

./wsdemoserver.py
Product label: border router
instance: 1  type: 0090da0303010010   Primary firmware
instance: 2  type: 0090da0303010010   Backup firmware
instance: 3  type: 0090da0303010014   802.15.4 radio
instance: 4  type: 0090da0302010015   Routing table
	Router address: fd02::212:4b00:60d:b1ea
Network prefix: fd02::
Network address: fd02::1
instance: 5  type: 0090da0303010022   Border Router Management
instance: 6  type: 0090da0303010023   Network Statistics
Setting beacon with length 40 in instance 3
fe02010a020090da0100001b5818020090da03fd020000000000000000000000000001115c000000
Starting demo server
httpd: forward prefix set to "fd02::"
httpd: serving at port 8000
WS Server state initialized.
Device server started at [fd02::1]:4444
...

Clone this wiki locally