Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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_id Network Interface address_ptr 16 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_id Network Interface eui64 eui64 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_id Network Interface
return 0, OK return -1 fail
Definition at line 84 of file thread_commissioning_if.c.
Generated on Tue Jul 12 2022 12:22:34 by
