Hi Damian,

so, length of security_header_t structure is 6 bytes??.


2011/4/26 Damian Rusinek <[email protected]>

>
>
> 2011/4/26 Rubenalia <[email protected]>
>
>> Hi all,
>>
>> In the folowing structure:
>>
>> typedef nx_struct security_header_t {
>>   nx_uint8_t secLevel:3;
>>   nx_uint8_t keyMode:2;
>>   nx_uint8_t reserved:3;
>>   nx_uint32_t frameCounter;
>>   nx_uint8_t keyID[1]; // One byte for now
>> } security_header_t;
>>
>> which belongs security definition for C2420 radio message.
>>
>
> Dont understand your question - what do you mean by CC2420 security
> definition? I guess that the answer is: all of them :)
>
>
>>
>> What do the numbers 3, 2, 3 mean in secLevel, keyMode and reserved fields
>> respectively??.
>>
>
> It's number of bits. First 3 fields are 3+2+3 bits = 8byte.
>
>
>>
>> Thanks!.
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>
>
> --
> Pozdrawiam,
> Damian Rusinek.
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to