schc_config.h
libSCHC compile-time configuration
-
BITMAP_SIZE_BYTES
[source]
- Value:
(1 << FCN_SIZE_BITS
) / 8
The length of the bitmap in bytes
-
CLICK
[source]
- Value:
0
Deactivate CLICK.
-
COAP_FIELDS
[source]
- Value:
16
Maximum number of header field descriptors present in a CoAP compression rule.
-
DEBUG_PRINTF()
[source]
Compile-time switchable debug macro for libSCHC.
-
DTAG_SIZE_BITS
[source]
- Value:
0
The maximum number of DTAG bits
-
DYNAMIC_MEMORY
[source]
- Value:
1
Use dynamic memory management.
-
FCN_SIZE_BITS
[source]
- Value:
6
The maximum number of FCN bits
-
IP6_FIELDS
[source]
- Value:
14
Maximum number of header field descriptors present in a IPv6 compression rule.
-
JSON_TOKENS
[source]
- Value:
1
The maximum number of tokens inside a JSON structure.
-
MAX_ACK_REQUESTS
[source]
- Value:
3
The maximum number of ACK attempts
- Value:
24
Maximum CoAP header length.
-
MAX_COAP_MSG_SIZE
[source]
- Value:
MAX_COAP_HEADER_LENGTH
+ MAX_PAYLOAD_LENGTH
Maximum CoAP message size.
-
MAX_FIELD_LENGTH
[source]
- Value:
32
The maximum length of a single header field,
e.g., you can use 4 ipv6 source iid addresses with match-mapping.
- Value:
16
Maximum number of header field descriptors present in a CoAP compression rule.
-
MAX_MTU_LENGTH
[source]
- Value:
1280
The maximum transfer unit of the underlying technology.
-
MAX_PAYLOAD_LENGTH
[source]
- Value:
256
Maximum CoAP payload length.
-
MIC_SIZE_BYTES
[source]
- Value:
4
The maximum number of bytes the MIC consists of
-
NLOGGING
[source]
- Value:
0
Toggle logging at compile time: NLOGGING=0
means logging is delegated to
pylog_debug()
, NLOGGING=1
means all logging functionality is removed from
libSCHC.
-
UDP_FIELDS
[source]
- Value:
4
Maximum number of header field descriptors present in a UDP compression rule.
-
USE_COAP
[source]
- Value:
1
Use CoAP.
-
USE_IP6_UDP
[source]
- Value:
1
Use IPv6 and UDP.