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.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
Public API to handle the Thread network services and configuration. More...
Go to the source code of this file.
Typedefs | |
| typedef void | thread_net_config_nd_data_req_cb (int8_t interface_id, int8_t status, uint8_t *data_ptr, uint16_t data_len) |
| function callback type for nd_data_request. | |
Functions | |
| int | thread_net_config_nd_data_request (int8_t interface_id, const uint8_t destination[16], const uint8_t *options, uint8_t options_len, thread_net_config_nd_data_req_cb *callback) |
| Request ND options (as in RFC6106) from given destination. | |
Detailed Description
Public API to handle the Thread network services and configuration.
Definition in file thread_net_config_api.h.
Typedef Documentation
| typedef void thread_net_config_nd_data_req_cb(int8_t interface_id, int8_t status, uint8_t *data_ptr, uint16_t data_len) |
function callback type for nd_data_request.
- Parameters:
-
inteface_id Network interface ID where request was made. status 0 when response is received from destination, -1 otherwise. data_ptr ND_data options encoded according to RFC6106. Is NULL if destination was unreachable or didn't have the requested data. data_len Length of data in bytes.
Definition at line 52 of file thread_net_config_api.h.
Function Documentation
| int thread_net_config_nd_data_request | ( | int8_t | interface_id, |
| const uint8_t | destination[16], | ||
| const uint8_t * | options, | ||
| uint8_t | options_len, | ||
| thread_net_config_nd_data_req_cb * | callback | ||
| ) |
Request ND options (as in RFC6106) from given destination.
Response data will be provided in callback function.
- Parameters:
-
interface_id network interface ID. destination IPv6 address where request is sent. options requested option type identifiers according to RFC6106. options_len number of options requested. callback Function that will be called once information is available.
- Returns:
- 0 on success. A callback will be called with/without response data.
- <0 in error cases. Callback will not be called.
Definition at line 34 of file thread_net_config_api.c.
Generated on Tue Jul 12 2022 13:55:19 by
1.7.2