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...
|
|
Detailed Description
Configuration socket based on the ipv6_medium module.
This module wraps the medium module in a configuration socket API.
Function Documentation
| 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.
- Parameters
-
optname Option name/type. p_optarg Pointer to the option value structure where the value should be stored. p_optlen Length of option value.
- Returns
- NRF_SUCCESS on success, otherwise an error code.
| uint32_t config_medium_init_default | ( | void | ) |
Function for initializing a configuration socket with default settings.
- Returns
- NRF_SUCCESS on success, otherwise an error code.
| eui64_t * config_medium_local_iid | ( | void | ) |
Function for retrieving local interface ID assigned.
- Returns
- Pointer to location of interface ID.
| 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.
- Parameters
-
optname Option name/type. p_optarg Pointer to option value. optlen Length of option value.
- Returns
- NRF_SUCCESS on success, otherwise an error code.
| void config_medium_start | ( | void | ) |
Function for starting the medium layer.
For BLE, this means to start advertising.