[Tinyos-help] Unable to send or receive queries in spite of successfully compiling and programming mica2 motes with TinyDBApp

shankar satish mailshanx at gmail.com
Mon Jan 7 04:15:03 PST 2008


Hi All,

I am unable to send queries or receive any readings from TinyDB. We are
using an MIB510 and mica2 motes. The TinyDBApp compiled fine, and was loaded
successfully on three motes. Mote with ID=0 is attached to the programming
board.

I selected the attributes (NodeID, Light, Parent and Depth) and clicked on
"Send Query" and "Display topology". The Query0 window and Sensor Network
Topology window are blank. On the programming board; (Which has attached to
it a mote with ID = 0 ), initially, the yellow and red LEDs were blinking.
After some time, green LED stayed on, and red started blinking. No LED is
blinking on motes with IDs=1,2, etc.


----------------------------------------Copy-pasted Messages from
Cygwin-----------------------------------------------------------------------------------------------

$  java net.tinyos.tinydb.TinyDBMain
Catalog file in use: net/tinyos/tinydb/catalog.xml
Creating PhoenixSource with serial at COM1:57600
serial at COM1:57600: resynchronising
Message <CommandMsg>
  [nodeid=0xffffffffffffffff]
  [seqNo=0x1f]

Message <CommandMsg>
  [nodeid=0xffffffffffffffff]
  [seqNo=0x20]

Topology Query: select nodeid, parent, light, temp, voltage epoch duration
2048
headings = [Epoch, nodeid, light, parent, depth]
h = nodeid
query = Fields in query:
0  nodeid
1  light
2  parent
3  depth
0 expressions representing query:
Epoch Duration = 204
Query ID = 1

headings = [Epoch, nodeid, light, parent, depth]
h = light
query = Fields in query:
0  nodeid
1  light
2  parent
3  depth
0 expressions representing query:
Epoch Duration = 204
Query ID = 1

headings = [Epoch, nodeid, light, parent, depth]
h = parent
query = Fields in query:
0  nodeid
1  light
2  parent
3  depth
0 expressions representing query:
Epoch Duration = 204
Query ID = 1

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------





---------------------------------I have copy-pasted TinyDB.conf file. (As
you can see, it all seems to be in
order:)--------------------------------------

%tinydb config file
%format param:value

%postgres server settings

postgres-user:tele
postgres-passwd:tiny
postgres-db:task
postgres-host:localhost


show-command-window:true
show-status-window:true
enable-logging:false
root-id:0
am-group-id:-1
gb-root:false

% As of 8/4/03, tinydb uses the new phoenixcomm interface for
% access to the mote network.  The string below specifies what
% source you would like to talk to.  Some examples:
%  A mote on the local serial port:  serial at COM1$57600
%  A mote via the eprb: network at c62b272$10002
%  An (external) serial forwarder: sf at localhost$9000
%  Note that "$" is used in place of ":" in the configuration string
%  Also, if using old-serial or old-network, you must specify the packet
size (which is currently 56)

comm-string:serial at COM1$57600

% default query to show in text pnale
default-query:create buffer sam size 5 as (select nodeid,light)

%default catalog file
catalog-file:net/tinyos/tinydb/catalog.xml

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Any pointers and help is much appreciated. Thank you.


Regards,
S.Shankar.
Wireless Lab,
Tata Institute of Fundamental Research.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080107/12e1e73b/attachment-0001.htm


More information about the Tinyos-help mailing list