Lee Kai Xuan / mbed-os

Fork of mbed-os by erkin yucel

Embed: (wiki syntax)

« Back to documentation index

thread_net_config_api.h File Reference

thread_net_config_api.h File Reference

Public API to handle the Thread network services and configuration. More...

Go to the source code of this file.

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.


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_idnetwork interface ID.
destinationIPv6 address where request is sent.
optionsrequested option type identifiers according to RFC6106.
options_lennumber of options requested.
callbackFunction 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.