Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

link_configuration Struct Reference

link_configuration Struct Reference

Thread network configuration. More...

#include <thread_management_if.h>

Data Fields

uint8_t name [16]
 Name of the Thread network.
uint8_t master_key [16]
 Master key of the thread network.
uint8_t PSKc [16]
 PSKc value that is calculated from commissioning credentials credentials,XPANID and network name.
uint8_t mesh_local_ula_prefix [8]
 Mesh local ula prefix.
uint8_t extented_pan_id [8]
 Extended pan id.
uint8_t channel_mask [8]
 channel page and mask only supported is page 0
uint8_t channel_page
 channel page supported pages 0
uint16_t key_rotation
 Key rotation time in hours.
uint32_t key_sequence
 Key sequence counter.
uint16_t panId
 network id
uint8_t version
 current protocol version
uint16_t rfChannel
 current rf channel
uint8_t securityPolicy
 Commission Security Policy.
uint8_t securityPolicyExt
 Additional Security Policy byte.
uint64_t timestamp
 commissioning data set timestamp.

Detailed Description

Thread network configuration.

You can use this structure in start-up in case of a static configuration. This data can also be read after joining the Thread network. If this data is not provided to the stack, the device starts the commissioning process to join the Thread network.

If the data is provided, all fields must be initialised to 0.

If XPANID and MASTER KEY are provided, the device starts out-of-band commissioning. The values must be initialised to other than 0. If mesh_local_eid is initialised to 0 it is randomized at start-up. If extended_random_mac is initialised to 0 it is randomized at start-up.

If timestamp values are set to 0 it triggers a network configuration update when joining the network.

Definition at line 72 of file thread_management_if.h.


Field Documentation

uint8_t channel_mask[8]

channel page and mask only supported is page 0

Definition at line 78 of file thread_management_if.h.

uint8_t channel_page

channel page supported pages 0

Definition at line 79 of file thread_management_if.h.

uint8_t extented_pan_id[8]

Extended pan id.

Definition at line 77 of file thread_management_if.h.

uint16_t key_rotation

Key rotation time in hours.

Definition at line 80 of file thread_management_if.h.

uint32_t key_sequence

Key sequence counter.

Definition at line 81 of file thread_management_if.h.

uint8_t master_key[16]

Master key of the thread network.

Definition at line 74 of file thread_management_if.h.

Mesh local ula prefix.

Definition at line 76 of file thread_management_if.h.

uint8_t name[16]

Name of the Thread network.

Definition at line 73 of file thread_management_if.h.

uint16_t panId

network id

Definition at line 82 of file thread_management_if.h.

uint8_t PSKc[16]

PSKc value that is calculated from commissioning credentials credentials,XPANID and network name.

Definition at line 75 of file thread_management_if.h.

uint16_t rfChannel

current rf channel

Definition at line 84 of file thread_management_if.h.

uint8_t securityPolicy

Commission Security Policy.

Definition at line 85 of file thread_management_if.h.

Additional Security Policy byte.

Definition at line 86 of file thread_management_if.h.

uint64_t timestamp

commissioning data set timestamp.

[48 bit timestamp seconds]-[15 bit timestamp ticks]-[U bit]

Definition at line 87 of file thread_management_if.h.

uint8_t version

current protocol version

Definition at line 83 of file thread_management_if.h.