X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fcc2420%2FCC2420.h;h=a3413ec2d061721657aa2ac0ee963e2ab0e734a3;hb=81f1bef4c045127874d88fe2737cc1bf84e57d0b;hp=83cee7c283bafc0db47e8dcc5e02f44de3d40ec1;hpb=1cb8c697a8a86875ca8f9661c013d7df952b6711;p=tinyos-2.x.git diff --git a/tos/chips/cc2420/CC2420.h b/tos/chips/cc2420/CC2420.h index 83cee7c2..a3413ec2 100644 --- a/tos/chips/cc2420/CC2420.h +++ b/tos/chips/cc2420/CC2420.h @@ -38,6 +38,10 @@ typedef uint8_t cc2420_status_t; +#ifndef TFRAMES_ENABLED +#define CC2420_IFRAME_TYPE +#endif + /** * CC2420 header. An I-frame (interoperability frame) header has an * extra network byte specified by 6LowPAN @@ -119,10 +123,10 @@ typedef nx_struct cc2420_packet_t { #endif /** - * The 6LowPAN ID has yet to be defined for a TinyOS network. + * The 6LowPAN NALP ID for a TinyOS network is 63 (TEP 125). */ #ifndef TINYOS_6LOWPAN_NETWORK_ID -#define TINYOS_6LOWPAN_NETWORK_ID 0x0 +#define TINYOS_6LOWPAN_NETWORK_ID 0x3f #endif