network/uart_tcp_client/nvm_defaults.c

/*******************************************************************************
* # License
* Copyright 2019 Silicon Laboratories Inc. www.silabs.com
*******************************************************************************
*
* The licensor of this software is Silicon Laboratories Inc. Your use of this
* software is governed by the terms of Silicon Labs Master Software License
* Agreement (MSLA) available at
* www.silabs.com/about-us/legal/master-software-license-agreement. This
* software is distributed to you in Source Code format and is governed by the
* sections of the MSLA applicable to Source Code.
*
******************************************************************************/
#include "gos.h"
#include "nvm_settings.h"
// these values will automatically be loaded into NVM on startup
#define DEFAULT_SETTINGS \
{ \
.tcp.host = "test.zentri.com", \
.tcp.port = 50007, \
.tcp.interface = GOS_INTERFACE_WLAN, \
.uart.id = PLATFORM_STD_UART, \
.uart.baud = 115200, \
.uart.rx_buffer_size = 4096, \
.uart.flow_control_enabled = false \
}
GOS_NVM_CREATE_DEFAULT_ENTRY(UART_TCP_CLIENT, SETTINGS, uart_tcp_client_settings_t, DEFAULT_SETTINGS);