nRF5 SDK for Thread and Zigbee v1.0.0
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
zb_nib_s Struct Reference

#include <zb_nwk_nib.h>

Data Fields

zb_uint16_t passive_ack_timeout
 
zb_uint8_t sequence_number
 
zb_uint8_t max_broadcast_retries
 
zb_ext_pan_id_t extended_pan_id
 
zb_uint8_t device_type
 
zb_uint8_t update_id
 
zb_uint8_t max_depth
 
zb_uint8_t max_children
 
zb_uint8_t router_child_num
 
zb_uint8_t ed_child_num
 
zb_uint8_t depth
 
zb_secur_material_set_t secur_material_set [ZB_SECUR_N_SECUR_MATERIAL]
 
zb_uint8_t active_key_seq_number
 
zb_uint32_t outgoing_frame_counter
 
zb_uint32_t prev_outgoing_frame_counter
 
zb_uint16_t nwk_manager_addr
 
zb_bitfield_t disable_rejoin:1
 
zb_bitfield_t addr_alloc:1
 
zb_bitfield_t uniq_addr:1
 
zb_bitfield_t reserve:4
 
zb_bitfield_t security_level:3
 
zb_bitfield_t active_secur_material_i:2
 
zb_bitfield_t reserved:2
 
zb_bitfield_t nwk_report_constant_cost:1
 
zb_tx_stat_window_t tx_stat
 
zb_uint8_t nwk_keepalive_modes
 
zb_uint8_t nwk_parent_information
 
zb_uint8_t nwk_ed_timeout_default
 
zb_time_t nwk_ed_keepalive_timeout
 

Detailed Description

This is NWK NIB residental in memory. It is not clear yet when it will be save to nvram and when read.

Field Documentation

zb_uint8_t zb_nib_s::active_key_seq_number

The sequence number of the active network key in nwkSecurityMaterialSet.

zb_bitfield_t zb_nib_s::active_secur_material_i

index in secur_material_set for keys with key_seq_number == active_key_seq_number

zb_bitfield_t zb_nib_s::addr_alloc

Address assign method

See also
zb_nwk_address_alloc_method_t
zb_uint8_t zb_nib_s::depth

current node depth

zb_uint8_t zb_nib_s::device_type

Current device role,

See also
zb_nwk_device_type_t
zb_bitfield_t zb_nib_s::disable_rejoin

Forbid rejoin - for Rejoin request set Rejoin response with error status

zb_uint8_t zb_nib_s::ed_child_num

Number of child ed devices

zb_ext_pan_id_t zb_nib_s::extended_pan_id

The extended PAN identifier for the PAN of which the device is a member

zb_uint8_t zb_nib_s::max_broadcast_retries

The maximum number of retries allowed after a broadcast transmission failure.

zb_uint8_t zb_nib_s::max_children

The number of children a device is allowed to have

zb_uint8_t zb_nib_s::max_depth

The depth a device can have

zb_time_t zb_nib_s::nwk_ed_keepalive_timeout

The period for sending the keepalive to the router parent shall be determined by the manufacturer of the device and is not specified by this standard. It is recommended that the period allows the end device to send 3 keepalive messages during the Device Timeout period. This will help insure that a single missed keepalive message will not age out the end device on the router parent.

zb_uint16_t zb_nib_s::nwk_manager_addr

The address of the designated network channel manager function.

zb_bitfield_t zb_nib_s::nwk_report_constant_cost

If this is set to 0, the NWK layer shall calculate link cost from all neighbor nodes using the LQI values reported by the MAC layer; otherwise, it shall report a constant value.

zb_uint32_t zb_nib_s::outgoing_frame_counter

OutgoingFrameCounter stored here (not in the secured material). Rationale: will never use "old" key - why store more then 1 counter?

zb_uint16_t zb_nib_s::passive_ack_timeout

Maximum time duration allowed for the parent and all child to retransmit a broadcast message

zb_uint8_t zb_nib_s::router_child_num

Number of child devices with router capability

zb_secur_material_set_t zb_nib_s::secur_material_set[ZB_SECUR_N_SECUR_MATERIAL]

Set of network security material descriptors capable of maintaining an active and alternate network key.

zb_bitfield_t zb_nib_s::security_level

The security level for outgoing and incoming NWK frames; the allowable security level identifiers are presented in Table 4.38. For ZB 2007 (Standard security only) only values 0 and 5 are possible. Or, seems, only value 5 is possible?

zb_uint8_t zb_nib_s::sequence_number

A sequence number used to identify outgoing frames

zb_tx_stat_window_t zb_nib_s::tx_stat

TX/TX fail counters

zb_bitfield_t zb_nib_s::uniq_addr

Table 3.44 NIB Attributes - nwkUniqueAddr

zb_uint8_t zb_nib_s::update_id

nwkUpdateId - The value identifying a snapshot of the network settings with which this node is operating with.


The documentation for this struct was generated from the following file: