Mesh API, Wi-SUN: Initialize Wi-SUN settings with values from json

pull/11410/head
Jarkko Paso 2019-09-04 15:53:21 +03:00
parent ea54f126a5
commit da0fe81bfd
2 changed files with 3 additions and 3 deletions

View File

@ -119,11 +119,11 @@
"value": "3"
},
"wisun-operating-class": {
"help": "Operating class.",
"help": "Operating class. Use 255 to use Nanostack default",
"value": "255"
},
"wisun-operating-mode": {
"help": "Operating mode.",
"help": "Operating mode. Use 255 to use Nanostack default",
"value": "255"
},
"wisun-uc-channel-function": {

View File

@ -95,7 +95,7 @@ typedef struct {
/* Tasklet data */
static wisun_tasklet_data_str_t *wisun_tasklet_data_ptr = NULL;
static wisun_certificates_t *wisun_certificates_ptr = NULL;
static wisun_network_settings_t wisun_settings_str = {NULL, WS_NA, WS_NA, WS_NA};
static wisun_network_settings_t wisun_settings_str = {NULL, MBED_CONF_MBED_MESH_API_WISUN_REGULATORY_DOMAIN, MBED_CONF_MBED_MESH_API_WISUN_OPERATING_CLASS, MBED_CONF_MBED_MESH_API_WISUN_OPERATING_MODE};
static mac_api_t *mac_api = NULL;
extern fhss_timer_t fhss_functions;