nRF51 IoT SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
iot_context_t Struct Reference

Context structure used for efficient compression and decompression. More...

#include <iot_common.h>

Data Fields

uint8_t context_id
 
uint8_t prefix_len
 
ipv6_addr_t prefix
 
bool compression_flag
 

Detailed Description

Context structure used for efficient compression and decompression.

Field Documentation

bool iot_context_t::compression_flag

Indicates if the context can be used for compression.

uint8_t iot_context_t::context_id

Context identifier (CID) number.

ipv6_addr_t iot_context_t::prefix

Prefix for CID.

uint8_t iot_context_t::prefix_len

Length of prefix for CID.