๐ŸŒฑ Off the Clock Design Challenge - DC2321AGUI

Let's get some data!

Last post ended with a set task: To find a way how to forward data from Mote to IP Manager. There is the application to send Temperature data but currently no data have been transfered. Then I will be very close to build a sensor application.


I found an application called OAPClient which I though would be a tool to get some OAP data:

OapClient - (c) Analog Devices, Dust Networks products
  running versions:
    - SmartMesh SDK: 1.3.0.1

> connect /dev/tty.usbserial-00001014D
1 operational motes:
0: 00-17-0d-00-00-30-92-3f

Currently using mote 0 (00-17-0d-00-00-30-92-3f).
notifications are ON.
logging to logfile is OFF.

> motes
1 operational motes:
0: 00-17-0d-00-00-30-92-3f

OAPClient Wiki

Long story short. Gleanergy kit contains mote which does not send any OAP data to the Mesh IP Manager. We have to find a better way how to get the data!

Let's search beforehand!

On the github of the Dustcloud I found a treasure:

python DC2321AGUI.py
1 mote has joined: 
00-17-0d-00-00-30-92-3f

Sending  [87, 0, 65, 82, 3, 0, 0, 0, 30] to MAC address 00-17-0d-00-00-30-92-3f
Received [3, 0, 0, 12, 101] from MAC address 00-17-0d-00-00-30-92-3f

Sending  [87, 0, 65, 82, 2, 0, 0, 0, 30] to MAC address 00-17-0d-00-00-30-92-3f
Received [2, 0, 0, 8, 229] from MAC address 00-17-0d-00-00-30-92-3f
Received [2, 0, 0, 8, 229] from MAC address 00-17-0d-00-00-30-92-3f

The output to the system console is above. The application itself has this fancy window with a lot of possibilities ๐Ÿ‘
The list of values which can be get is a really long:


One can get subscribe to the periodically sent temperature values. Each 10 sec I can get the temperature value:


python DC2321AGUI.py

1 mote has joined: 
00-17-0d-00-00-30-92-3f
Received [2, 0, 0, 8, 229] from MAC address 00-17-0d-00-00-30-92-3f

Sending  [87, 0, 65, 78, 2] to MAC address 00-17-0d-00-00-30-92-3f
Received [2, 0, 0, 8, 229] from MAC address 00-17-0d-00-00-30-92-3f

Sending  [87, 0, 65, 82, 2, 0, 0, 0, 10] to MAC address 00-17-0d-00-00-30-92-3f
Received [2, 0, 0, 8, 229] from MAC address 00-17-0d-00-00-30-92-3f
Received [2, 0, 0, 8, 229] from MAC address 00-17-0d-00-00-30-92-3f


Sending  [87, 0, 65, 82, 2, 0, 0, 0, 10] to MAC address 00-17-0d-00-00-30-92-3f

๐ŸŽฏ Next step

Fine, I do have the application which can obtain data from the mote. Now I will need to get data my own way.

Comments

Popular Posts