BA / Mbed OS BaBoRo1
Embed: (wiki syntax)

« Back to documentation index

thread_commissioning_if.h File Reference

thread_commissioning_if.h File Reference

Thread internal commissioning if. More...

Go to the source code of this file.

Functions

int thread_commissioning_if_pairwise_key_add (int8_t interface_id, uint32_t valid_life_time, uint8_t eui64[static 8], uint8_t key[static 16])
 This interface is used in commissioning for all the devices attaching to New Thread network.
int thread_commissioning_if_pairwise_key_del (int8_t interface_id, uint8_t eui64[static 8])
 Delete pairwise key for specific device.
int thread_commissioning_if_pairwise_key_delete_all (int8_t interface_id)
 Delete all pairwise keys from the device.
int thread_commissioning_if_border_router_locator_get (int8_t interface_id, uint8_t *address_ptr)
 Get commissioner border router locator.
int thread_commissioning_if_enable_security (int8_t interface_id)

Detailed Description

Thread internal commissioning if.

Definition in file thread_commissioning_if.h.


Function Documentation

int thread_commissioning_if_border_router_locator_get ( int8_t  interface_id,
uint8_t *  address_ptr 
)

Get commissioner border router locator.

Parameters:
interface_idNetwork Interface
address_ptr16 byte buffer where address is written

return 0, OK return -1 fail

Definition at line 89 of file thread_commissioning_if.c.

int thread_commissioning_if_enable_security ( int8_t  interface_id )

The Link configuration is learned during commissioning and should be updated using new function in thread management interface thread_managenet_configuration_set. functions

Definition at line 110 of file thread_commissioning_if.c.

int thread_commissioning_if_pairwise_key_add ( int8_t  interface_id,
uint32_t  valid_life_time,
uint8_t  eui64[static 8],
uint8_t  key[static 16] 
)

This interface is used in commissioning for all the devices attaching to New Thread network.

Definition at line 57 of file thread_commissioning_if.c.

int thread_commissioning_if_pairwise_key_del ( int8_t  interface_id,
uint8_t  eui64[static 8] 
)

Delete pairwise key for specific device.

Parameters:
interface_idNetwork Interface
eui64eui64 of device that key is valid for.

return 0, OK return -1 fail

Definition at line 71 of file thread_commissioning_if.c.

int thread_commissioning_if_pairwise_key_delete_all ( int8_t  interface_id )

Delete all pairwise keys from the device.

Parameters:
interface_idNetwork Interface

return 0, OK return -1 fail

Definition at line 84 of file thread_commissioning_if.c.