Hi,
In file: “...\opt\tinyos-1.x\tos\lib\CC2420Radio\CC2420Const.h” appears the following initial values for FCF (Frame Control Field):
 

#define CC2420_DEF_FCF_LO 0x08

#define CC2420_DEF_FCF_HI 0x01 // without ACK

#define CC2420_DEF_FCF_HI_ACK 0x21 // with ACK
 
These initial values supposes:

0-2

3

4

5

6

7-9

10-11

12-13

14-15

Frame

type

Security

enabled

Frame

pending

ACK

request

Intra-

PAN

Reserved

Dest.

Add. Mode

Reserved

Source

Add. Mode

000

1

0

0

0

010

00

00

00

000

1

0

0

0

010

00

01

00

 
Is it ok? or the initial values should be:
 

#define CC2420_DEF_FCF_HI 0x08

#define CC2420_DEF_FCF_LO 0x01 // without ACK

#define CC2420_DEF_FCF_LO_ACK 0x21 // with ACK

 

100 0 0 0 0 000 01 00 00

100 0 0 1 0 000 01 00 00

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

Reply via email to