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 [EMAIL PROTECTED]:57600 [EMAIL PROTECTED]: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: [EMAIL PROTECTED] % A mote via the eprb: [EMAIL PROTECTED] % An (external) serial forwarder: [EMAIL PROTECTED] % 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:[EMAIL PROTECTED] % 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.
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
