5#ifndef _SERIALBURNERDATA_H_
6#define _SERIALBURNERDATA_H_
9extern MonitorRecord monitor_config;
11#define DEVICE_NAME_LENGTH (15)
22#define SERIAL_BURNER_CERTIFICATE_SIZE_MAX ((2 * 1024) - 1)
23#define SERIAL_BURNER_CERTIFICATE_SIZE_MAX_PEM ((3 * 1024) - 1)
26#define SERIAL_BURNER_LIBRARY_DEFAULT ((uint8_t)0x00)
27#define SERIAL_BURNER_DEFAULT ((uint8_t)0x01)
28#define SERIAL_BURNER_USER_INSTALLED ((uint8_t)0x02)
38#define SERIAL_BURNER_KEY_SIZE_MAX_PEM ((4 * 1024) - 1)
45#define boot_iprintf(...) \
47 if (monitor_config.Quiet == 0) \
49 iprintf("%s : ", NV_Settings.DeviceName); \
50 iprintf(__VA_ARGS__); \
60#define debug_iprintf(...) \
62 if (bShowDebug == TRUE) \
64 iprintf("%s : ", NV_Settings.DeviceName); \
65 iprintf(__VA_ARGS__); \
101 char DeviceName[(DEVICE_NAME_LENGTH + 1)];
102 char NetBIOSName[(NETBIOS_NAME_SIZE_IN_CHARS + 1)];
105 uint8_t SslCertificateSource;
106 uint16_t SslCertificateLength;
107 uint16_t SslKeyLength;
112 uint32_t STDEFFSVerifyKey;
130extern volatile BOOL gChangedUserParameters;
133extern BOOL bShowDebug;
143extern void RegisterPost(
void);
146extern BOOL UserSaveData(
char *dataPtr,
int dataSize,
const char *fileName);
149extern BOOL UserGetData(
char *dataPtr,
char *fileName,
int dataSize);
151extern void CheckNVSettings(BOOL returnToFactory = FALSE);
153extern void SetAndSaveDefaults(
void);
156extern char GetHexByte(
const char *cp);
Configuration object header file.
Configuration Settings.
Definition Parallax/src/nvsettings.h:13