Trident IoT Z-Wave SDK
Loading...
Searching...
No Matches
ZAF_AppName.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2023 Silicon Laboratories Inc. <https://www.silabs.com/>
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
17
18#ifndef ZAF_APPNAME_H
19#define ZAF_APPNAME_H
20
21#include <stdbool.h>
22#include "zaf_appname_config.h"
23
24#if !defined(ZAF_APP_NAME)
25#error "The application's name is not defined"
26#endif
27
28#define ZAF_FILE_SIZE_APP_NAME 30 // 29 characters + \0
29
36bool ZAF_AppName_Read(char * app_name);
37
45
46#endif /* ZAF_APPNAME_H */
bool ZAF_AppName_Write(void)
Writes the name of the application to the non-volatile memory, if it isn't already up to date.
bool ZAF_AppName_Read(char *app_name)
Reads the name of the application into a character array.