mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-22 18:19:23 +02:00
tools/dirtpan/dirtpan.c: cleaned up embarrassing explanation of control byte
- dirtpan.c: changed control byte from innovative 7 bit layout to the more common 8 bits. My, haven't we had our morning coffee yet ? - dirtpan.c: added explanation that the two highest bits of the control byte have to be zero, to avoid conflicting with RFC4944
This commit is contained in:
parent
29664701a8
commit
e77658fe26
@ -37,9 +37,12 @@
|
|||||||
/*
|
/*
|
||||||
* Control byte structure:
|
* Control byte structure:
|
||||||
*
|
*
|
||||||
* +--7--+--6--+--5--+--4--+--3--+--2--+--1--+
|
* +--7--+--6--+--5--+--4--+--3--+--2--+--1--+--0--+
|
||||||
* | 0 | 0 | 0 | 0 | seq | pck_type |
|
* | 0 | 0 | 0 | 0 | 0 | seq | pck_type |
|
||||||
* +-----+-----+-----+-----+-----+-----+-----+
|
* +-----+-----+-----+-----+-----+-----+-----+-----+
|
||||||
|
* =============
|
||||||
|
*
|
||||||
|
* Bits 6 and 7 must be zero to avoid conflicts with RFC 4944 (LoWPAN)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define SEQ 4
|
#define SEQ 4
|
||||||
|
Loading…
Reference in New Issue
Block a user