Change back to SICSLOWPAN_COMPRESSION_HC06 from SICSLOWPAN_COMPRESSION_HC01

This commit is contained in:
dak664 2010-02-28 21:39:40 +00:00
parent 39e6f6a830
commit feb6aa0ed2
2 changed files with 4 additions and 12 deletions

View file

@ -62,10 +62,10 @@
#define CCIF #define CCIF
#define CLIF #define CLIF
#define SICSLOWPAN_CONF_COMPRESSION_HC01 2
#define RIMEADDR_CONF_SIZE 8 #define RIMEADDR_CONF_SIZE 8
#define SICSLOWPAN_CONF_COMPRESSION SICSLOWPAN_CONF_COMPRESSION_HC01
//#define SICSLOWPAN_CONF_COMPRESSION SICSLOWPAN_COMPRESSION_HC06 #define SICSLOWPAN_CONF_COMPRESSION SICSLOWPAN_COMPRESSION_HC06
/* RF230BB must be used with low power protocols */ /* RF230BB must be used with low power protocols */
#if RF230BB #if RF230BB

View file

@ -78,15 +78,7 @@ typedef int32_t s32_t;
#define RIMEADDR_CONF_SIZE 8 #define RIMEADDR_CONF_SIZE 8
/* 0 for IPv6, or 1 for HC1, 2 for HC01 */ #define SICSLOWPAN_CONF_COMPRESSION SICSLOWPAN_COMPRESSION_HC06
//#define SICSLOWPAN_CONF_COMPRESSION_IPV6 0
//#define SICSLOWPAN_CONF_COMPRESSION_HC1 1
#define SICSLOWPAN_CONF_COMPRESSION_HC01 2
//#ifndef SICSLOWPAN_COMPRESSION_HC06
//#warning hc06 not defined
//#endif
#define SICSLOWPAN_CONF_COMPRESSION SICSLOWPAN_CONF_COMPRESSION_HC01
//#define SICSLOWPAN_CONF_COMPRESSION SICSLOWPAN_COMPRESSION_HC06
#define SICSLOWPAN_CONF_MAX_ADDR_CONTEXTS 2 #define SICSLOWPAN_CONF_MAX_ADDR_CONTEXTS 2
#define UIP_CONF_LL_802154 1 #define UIP_CONF_LL_802154 1