char actions[128];
',' */
} SEventRuleSetting;
typedef struct _eventRuleSettingList {
int size;
SEventRuleSetting rule[10];
} SEventRuleSettingList;
typedef struct _eventPolicySetting {
SEventRuleSettingList ruleList;
} SEventPolicySetting;
enum AuthMOde{
PLAIN=0,
LOGIN=1,
LOGIN_TLS=2
};
typedef struct _mailingServer {
unsigned int authenticationMode;// => enum { PLAIN , LOGIN , TLS_LOGIN }
unsigned int portNo; //=> 25
unsigned char smtpServerHostName[64]; //=> smtp.gmail.com
unsigned char accountName[64]; //=> XXXXXX
unsigned char password[64]; //=> XXXXXX
} SMailingServer;
/* SEmailSetting */
typedef struct _emailSetting {
unsigned char senderAddress[64]; //=> XXX@gmail.com
unsigned char receiverAddress1[64]; //=> XXX@brickcom.com.tw // if NULL, disable
unsigned char receiverAddress2[64]; //=> YYY@brickcom.com.tw // if NULL, disable
unsigned char senderName[64]; //=> IPCAM
unsigned char subject[64]; //=> "IPCAM Alert"
unsigned int attachedVideoURLEnabled; //=> 0/1
unsigned int attachedSnapShotEnabled; //=> 0/1
unsigned int attachedVideoClipEnabled; //=> 0/1
SMailingServer primary;
SMailingServer secondary;
} SEmailSetting;
/* SFTPServer */
typedef struct _ftpServer
unsigned int addressType;
unsigned char hostname[64];
unsigned char ipAddress[32];
unsigned char ipv6Address[48];
unsigned int portNo;
/* list of references to action names separated by comma
{
118
Need help?
Do you have a question about the WFB-100A and is the answer not in the manual?
Questions and answers