6LowPAN options list More...
#include "lwip/opt.h"
Go to the source code of this file.
Macros | |
#define | LWIP_6LOWPAN_NUM_CONTEXTS 10 |
LWIP_6LOWPAN_NUM_CONTEXTS: define the number of compression contexts per netif type. More... | |
#define | LWIP_6LOWPAN_INFER_SHORT_ADDRESS 1 |
LWIP_6LOWPAN_INFER_SHORT_ADDRESS: set this to 0 to disable creating short addresses for matching addresses (debug only) More... | |
#define | LWIP_6LOWPAN_IPHC 1 |
LWIP_6LOWPAN_IPHC: set this to 0 to disable IP header compression as per RFC 6282 (which is mandatory for BLE) More... | |
#define | LWIP_6LOWPAN_802154_HW_CRC 0 |
Set this to 1 if your IEEE 802.15.4 interface can calculate and check the CRC in hardware. More... | |
#define | LWIP_6LOWPAN_CALC_CRC(buf, len) lowpan6_calc_crc(buf, len) |
If LWIP_6LOWPAN_802154_HW_CRC==0, this can override the default slow implementation of the CRC used for 6LoWPAN over IEEE 802.15.4 (which uses a shift register). More... | |
#define | LWIP_LOWPAN6_DEBUG LWIP_DBG_OFF |
Debug level for 6LoWPAN in general. More... | |
#define | LWIP_LOWPAN6_802154_DEBUG LWIP_DBG_OFF |
Debug level for 6LoWPAN over IEEE 802.15.4. More... | |
#define | LWIP_LOWPAN6_IP_COMPRESSED_DEBUG LWIP_DBG_OFF |
LWIP_LOWPAN6_IP_COMPRESSED_DEBUG: enable compressed IP frame output debugging. More... | |
#define | LWIP_LOWPAN6_DECOMPRESSION_DEBUG LWIP_DBG_OFF |
LWIP_LOWPAN6_DECOMPRESSION_DEBUG: enable decompression debug output. More... | |
#define | LWIP_RFC7668_IP_UNCOMPRESSED_DEBUG LWIP_DBG_OFF |
LWIP_RFC7668_IP_UNCOMPRESSED_DEBUG: enable decompressed IP frame output debugging. More... | |
#define | LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS 1 |
LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS: Currently, the linux kernel driver for 6lowpan sets/clears a bit in the address, depending on the BD address (either public or not). More... | |
6LowPAN options list
Definition in file lowpan6_opts.h.
#define LWIP_6LOWPAN_802154_HW_CRC 0 |
Set this to 1 if your IEEE 802.15.4 interface can calculate and check the CRC in hardware.
This means TX packets get 2 zero bytes added on transmission which are to be filled with the CRC.
Definition at line 72 of file lowpan6_opts.h.
#define LWIP_6LOWPAN_CALC_CRC | ( | buf, | |
len | |||
) | lowpan6_calc_crc(buf, len) |
If LWIP_6LOWPAN_802154_HW_CRC==0, this can override the default slow implementation of the CRC used for 6LoWPAN over IEEE 802.15.4 (which uses a shift register).
Definition at line 80 of file lowpan6_opts.h.
#define LWIP_6LOWPAN_INFER_SHORT_ADDRESS 1 |
LWIP_6LOWPAN_INFER_SHORT_ADDRESS: set this to 0 to disable creating short addresses for matching addresses (debug only)
Definition at line 57 of file lowpan6_opts.h.
#define LWIP_6LOWPAN_IPHC 1 |
LWIP_6LOWPAN_IPHC: set this to 0 to disable IP header compression as per RFC 6282 (which is mandatory for BLE)
Definition at line 64 of file lowpan6_opts.h.
#define LWIP_6LOWPAN_NUM_CONTEXTS 10 |
LWIP_6LOWPAN_NUM_CONTEXTS: define the number of compression contexts per netif type.
Definition at line 50 of file lowpan6_opts.h.
#define LWIP_LOWPAN6_802154_DEBUG LWIP_DBG_OFF |
Debug level for 6LoWPAN over IEEE 802.15.4.
Definition at line 90 of file lowpan6_opts.h.
#define LWIP_LOWPAN6_DEBUG LWIP_DBG_OFF |
Debug level for 6LoWPAN in general.
Definition at line 85 of file lowpan6_opts.h.
#define LWIP_LOWPAN6_DECOMPRESSION_DEBUG LWIP_DBG_OFF |
LWIP_LOWPAN6_DECOMPRESSION_DEBUG: enable decompression debug output.
Definition at line 103 of file lowpan6_opts.h.
#define LWIP_LOWPAN6_IP_COMPRESSED_DEBUG LWIP_DBG_OFF |
LWIP_LOWPAN6_IP_COMPRESSED_DEBUG: enable compressed IP frame output debugging.
Definition at line 97 of file lowpan6_opts.h.
#define LWIP_RFC7668_IP_UNCOMPRESSED_DEBUG LWIP_DBG_OFF |
LWIP_RFC7668_IP_UNCOMPRESSED_DEBUG: enable decompressed IP frame output debugging.
Definition at line 109 of file lowpan6_opts.h.
#define LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS 1 |
LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS: Currently, the linux kernel driver for 6lowpan sets/clears a bit in the address, depending on the BD address (either public or not).
Might not be RFC7668 conform, so you may select to do that (=1) or not (=0)
Definition at line 118 of file lowpan6_opts.h.