Configuration socket based on the ipv6_medium module.
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.
- 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.