Hi all

I had the test that it sends and receives between BaseStation and embedded
board.

 

My test is the same as follows 

 

Sensor node --> BaseStation --> embedded board 

 

I had the tests with two tinyos-2.x version 

First, tinyos-2.x version of BaseStation is 2.0.1-3 

When we test with 2.0.1-3, embedded board receives the correct value as
below :  

Correct value    : 7e 45 00 ff ff 00 05 37 22 0c 69 05 00 00 00 00 00 8f fd
ff 00 ff fe 00 00 05 33 33 00 00 00 00 00 02 50 d5 42 88 ff fd ff ff fe 00
00 05 ff 02 00 00 00 00 00 00 00 00 00 00 00 00 00 02 3a 85 00 80 32 00 00
00 00 09 35 7e

 

Second, tinyos-2.x version of BaseStation is 2.0.1-5

When we test with 2.0.1-5, embedded board receives the wrong value as belos
: 

Wrong value     : fe 85 00 ff ff 00 05 77 42 0c ec 05 00 00 00 00 00 0f fd
ff 00 ff fe 00 00 05 73 73 00 00 00 00 00 02 a0 b5 82 18 ff fd ff ff fe 00
00 05 ff 02 00 00 00 00 00 00 00 00 00 00 00 00 00 02 7a 05 00 00 72 00 00
00 00 04 71 fe

If you check over the values, you would recognize some weird regulation. 

7e --> fe

45 --> 85

37 --> 77

22 --> 42 

42 --> 82

I think 4 bit of one byte change through some masking or shift. 

I don’t know exactly.  

 

Don’t serial communication of tinyos-2.0.1-5 have the any problem? 

My embedded board is arm9 and linux kernel-2.4.18 

I would speak again that when we had a test with tinyos-2.0.1-3 of
BaseStation, we received the correct value.

 

If you know this problem, let me know. 

Thank you in advance. 

 

 

 

 

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to