* # License
* Copyright 2019 Silicon Laboratories Inc.
* 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
* 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.h"
typedef struct
uint32_t version;
uint32_t timeout;
char password[128];
} myapp_settings_t;
// Define a list of NVM entries for this app
// NOTE: For backwards compatibility, it's important the values
// assigned to these entries do NOT change with new versions of your app.
// To change or modify NVM entries, add a new entry with a new value to the list.
GOS_NVM_DEFINE_ENTRY(MYAPP, SETTINGS, 0, sizeof(myapp_settings_t)),