Hi,
I've just started learning how to use TinyDB and TOSSIM.
I followed the steps in section 9 of TinyDB manual to make TinyDB work
with TOSSIM. Everything works properly, but TinyDB doesn't seem to
generate any data from TOSSIM.
In TinyDBMain GUI, when I click "Reset mote", I receive the message in the
shell window:
Message (CommandMsg)
[nodeid=0xffffffffffffffff]
[seqNo=0x7]
And when I "Send Query", I receive the outputs in the shell of TinyDBMain
stating that
headings = [Epoch, nodeid, light]
h = nodeid
query = Fields in query:
0 nodeid
1 light
0 expressions representing query:
Epoch Duration = 204
Query ID = 0
headings = [Epoch, nodeid, light]
h = light
query = Fields in query:
0 nodeid
1 light
0 expressions representing query:
Epoch Duration = 204
Query ID = 0
And in the shell of TinyDB, the outputs are
0: Setting bits from 151 to 234 to 0
2: Setting bits from 151 to 234 to 0
1: Setting bits from 151 to 234 to 0
0: Setting bits from 0 to 90 to 1
2: Setting bits from 0 to 90 to 1
1: Setting bits from 0 to 90 to 1
0: Setting bits from 90 to 162 to 1
0: Setting bits from 0 to 90 to 0
0: Setting bits from 0 to 86 to 1
0: Setting bits from 90 to 162 to 1
2: Setting bits from 90 to 162 to 1
2: Setting bits from 0 to 90 to 0
2: Setting bits from 0 to 86 to 1
2: Setting bits from 90 to 162 to 1
1: Setting bits from 90 to 162 to 1
1: Setting bits from 0 to 90 to 0
1: Setting bits from 0 to 86 to 1
1: Setting bits from 90 to 162 to 1
0: DUMMY WAIT
0: deliver wait is 0
However, there is no sensor data generated in the graph in the query
window of TinyDBMain.
I don't know what to do now to generate sensing data (light,temp) for TinyDB.
Is there anything related to adding sensor model for the motes in Tython?
I would really appreciate your help for this issue!
Thank you very much,
Huy Tran.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help