Rtos API example

Embed: (wiki syntax)

« Back to documentation index

rpl_dodag_info_t Struct Reference

rpl_dodag_info_t Struct Reference

RPL Instance DODAG info structure for rpl_read_dodag_info. Read RFC 6550 for more information and to make sure you know what you are doing. More...

#include <net_rpl.h>

Data Fields

uint8_t dodag_id [16]
 RPL DODAG ID.
uint8_t instance_id
 RPL instance ID.
uint8_t flags
 RPL DODAG Flags: (MOP,Grounded, Router Pref)
uint8_t version_num
 RPL DODAG version number.
uint8_t DTSN
 RPL DODAG DAO trigger version number.
uint16_t curent_rank
 RPL DODAG node current Rank.
uint8_t parent_flags
 RPL DODAG parent Flags: RPL_ROOT_PARENT or RPL_PRIMARY_PARENT_SET, RPL_SECONDARY_PARENT_SET.
uint8_t primary_parent [16]
 Primary Parent GP address if RPL_PRIMARY_PARENT_SET flag is active.
uint16_t primary_parent_rank
 Primary Parent Rank if RPL_PRIMARY_PARENT_SET flag is active.
uint8_t secondary_parent [16]
 Secondary Parent GP address if RPL_SECONDARY_PARENT_SET flag is active.
uint16_t secondary_parent_rank
 Secondary Parent rank if RPL_SECONDARY_PARENT_SET flag is active.
uint16_t dag_min_hop_rank_inc
 RPL DODAG conf DAG minimum rank increase.

Detailed Description

RPL Instance DODAG info structure for rpl_read_dodag_info. Read RFC 6550 for more information and to make sure you know what you are doing.

Definition at line 134 of file net_rpl.h.


Field Documentation

uint16_t curent_rank

RPL DODAG node current Rank.

Definition at line 140 of file net_rpl.h.

RPL DODAG conf DAG minimum rank increase.

Definition at line 146 of file net_rpl.h.

uint8_t dodag_id[16]

RPL DODAG ID.

Definition at line 135 of file net_rpl.h.

uint8_t DTSN

RPL DODAG DAO trigger version number.

Definition at line 139 of file net_rpl.h.

uint8_t flags

RPL DODAG Flags: (MOP,Grounded, Router Pref)

Definition at line 137 of file net_rpl.h.

uint8_t instance_id

RPL instance ID.

Definition at line 136 of file net_rpl.h.

uint8_t parent_flags

RPL DODAG parent Flags: RPL_ROOT_PARENT or RPL_PRIMARY_PARENT_SET, RPL_SECONDARY_PARENT_SET.

Definition at line 141 of file net_rpl.h.

uint8_t primary_parent[16]

Primary Parent GP address if RPL_PRIMARY_PARENT_SET flag is active.

Definition at line 142 of file net_rpl.h.

Primary Parent Rank if RPL_PRIMARY_PARENT_SET flag is active.

Definition at line 143 of file net_rpl.h.

uint8_t secondary_parent[16]

Secondary Parent GP address if RPL_SECONDARY_PARENT_SET flag is active.

Definition at line 144 of file net_rpl.h.

Secondary Parent rank if RPL_SECONDARY_PARENT_SET flag is active.

Definition at line 145 of file net_rpl.h.

uint8_t version_num

RPL DODAG version number.

Definition at line 138 of file net_rpl.h.