system/application_nvm/common.h

/*******************************************************************************
* # 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.
*
******************************************************************************/
#pragma once
#include "gos_types.h"
#define MAX_CLOUD_URL_LENGTH 64
#define DEVICE_KEY_LENGTH 32
typedef struct
{
uint32_t polling_period;
bool enabled;
} humidity_sensor_settings_t;
typedef struct
{
uint32_t polling_period;
bool enabled;
} temperature_sensor_settings_t;
typedef struct
{
uint32_t update_interval;
} cloud_settings_t;