Was finally able to solve it by changing the java file.

Thanks for the help.
Regards,
Mayank

On Wed, Jun 1, 2011 at 4:53 PM, Michael Schippling <[email protected]> wrote:
> Probably MsgReader uses a class file generated by a tool
> called MIG. This file is a Java representation of the
> message structure being used by your TOS application,
> and usually has a name similar to that struct.
>
> If you can find that file, you can modify it -- or better,
> extend it -- to print anything you like for the values
> in question. I don't use any of those tools or programs
> so that's the most I can tell you.
>
> MS
>
> Mayank Gupta wrote:
>>
>> Hi everybody,
>>
>> I am developing an application which reads sensor values from sensors
>> on telosb motes and sends these values in packet to base station mote
>> connected to pc. Now I am using MsgReader application to read the
>> contents of the message. My problem is that MsgReader shows values in
>> hexadecimal. I need the values in Celsius for temperature, % for
>> humidity and wavelength in nm for light. I am not really sure how to
>> convert these hexadecimal values shown by MsgReader into the required
>> values. I hope you understand my query.
>>
>> It would be very nice if anyone can guide me in the right direction to
>> do the same task.
>>
>> Thanking you in anticipation.
>>
>> With best Regards,
>> Mayank
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to