[Tinyos-help] Re: help needed regarding XSensorMDA300

Michael Schippling schip at santafe.edu
Fri Jun 2 15:26:51 PDT 2006


It looks like the packet dumping function in
  contrib\xbow\tools\src\xlisten\boards\mda300.c
  mda300_print_raw(XbowSensorboardPacket *packet)
may be getting a wrong pointer.

29 (0x1d) is the standard length of a TOS_Msg.data packet:
                vv
 > 7e42ffff0681 1d 81030100000000000000000000000000000000000000000000000
                   ^^
where your packet should start here, making the packet_id == 0x03

I'm too slow to be able to trace regular C code anymore, but,
baring anyone else haveing a good idea you may have to just
debug through and find out where  mda300_print_raw() is being
called with what...

MS


Sumit wrote:
> Hi,
> 
> I am trying to test my MDA300 using XSensorMDA300 program.
> I tried testing xlisten over an RF link. I configured
> the two motes per the instruction, and set up the
> connection:
> MDA300 + MICA2
>                      MICA2+MIB510
>                                  <------->com1 of PC
> 
> The first MICAz was programmed under /XSensorMDA300,
> and the second one was programmed under /TOSBase with
> node id 0. After I typed the xlisten command.
> It gives only the raw data and gives the following error:-
> $ xlisten -r -p -c -b=mica2 -s=com1
> xlisten Ver:$Id: xlisten.c,v 1.9 2004/04/08 01:35:35 mturon Exp $
> Using params: [baud=0x1001] [raw]
> [parsed] [cooked]
> com1 input stream opened
> 7e42ffff06811d81030100000000000000000000000000000000000000000000000
> mda300 error: unknown packet_id (29)
> MDA300 error: unknown packet_id (29)
> 
> 7e42ffff06811d810101009f09d908f809aa08b3096909b30900000000000000000
> mda300 error: unknown packet_id (29)
> MDA300 error: unknown packet_id (29)
> ------------
> 
> I have tried all possible options.
> Tested on versions tinyos1.1.0,1.1.7,1.1.10.
> even changed the computer.
> The order of glow of leds is correct that is:
> first red then after connecting it changes to green and on sending packets
> it blinks yellow.
> How can packet_id be any other than 1 to 4.Hows it 29.
>>From where are the values of packet_id set?
> 
> Can anybody help me out with this?
> I would be very greatful.
> My project is stuck due to this .
> thanks.
> sumit


More information about the Tinyos-help mailing list