enum UserPrivilegeType {
USER_PRIVILEGE_VIEW=0,
USER_PRIVILEGE_ADMIN,
USER_PRIVILEGE_REMOTE_VIEW,
};
/* SUserSetting */
typedef struct _userSetting {
int index;
char username[30]; // Unique key.
char password[30];
int privilege;
} SUserSetting;
\
/* SUserSetSetting */
typedef struct _userSetList {
int size;
SUserSetting users[10];
} SUserSetList;
typedef struct _userSetSetting {
SUserSetList userList;
}SUserSetSetting;
enum ProtocolMode{
PROTOCOL_HTTP=0,
PROTOCOL_HTTPS,
PROTOCOL_HTTP_HTTPS
};
/* SHTTPSetting */
typedef struct _HTTPSetting {
int enabled;
int port;
} SHTTPSetting;
/* SHTTPSSetting */
typedef struct _HTTPSSetting {
int enabled;
int port;
} SHTTPSSetting;
typedef struct _FWUPGRADE{
char filename[64];
int status;
} SFWUPGRADE;
typedef struct _ConfigFile{
// Administration, Viewer
107
Need help?
Do you have a question about the WFB-100A and is the answer not in the manual?
Questions and answers