Configuration socket based on the ipv6_medium module. More...
Data Structures | |
struct | config_medium_params_t |
Parameters passed for the MEDIUM_INIT_PARAMS option. More... | |
Functions | |
uint32_t | config_medium_init_default (void) |
Function for initializing a configuration socket with default settings. More... | |
void | config_medium_start (void) |
Function for starting the medium layer. More... | |
eui64_t * | config_medium_local_iid (void) |
Function for retrieving local interface ID assigned. More... | |
uint32_t | config_medium_setopt (int optname, const void *p_optarg, socklen_t optlen) |
Function for setting configuration parameters for the medium layers using the socket option. More... | |
uint32_t | config_medium_getopt (int optname, void *p_optarg, socklen_t *p_optlen) |
Function for getting configuration parameters for the medium layers using the socket option. More... | |
Configuration socket based on the ipv6_medium module.
This module wraps the medium module in a configuration socket API.
uint32_t config_medium_getopt | ( | int | optname, |
void * | p_optarg, | ||
socklen_t * | p_optlen | ||
) |
Function for getting configuration parameters for the medium layers using the socket option.
optname | Option name/type. |
p_optarg | Pointer to the option value structure where the value should be stored. |
p_optlen | Length of option value. |
uint32_t config_medium_init_default | ( | void | ) |
Function for initializing a configuration socket with default settings.
eui64_t* config_medium_local_iid | ( | void | ) |
Function for retrieving local interface ID assigned.
uint32_t config_medium_setopt | ( | int | optname, |
const void * | p_optarg, | ||
socklen_t | optlen | ||
) |
Function for setting configuration parameters for the medium layers using the socket option.
optname | Option name/type. |
p_optarg | Pointer to option value. |
optlen | Length of option value. |
void config_medium_start | ( | void | ) |
Function for starting the medium layer.
For BLE, this means to start advertising.