typedef struct tagCameraSetInfo
{
char id[CAMERA_ID_LEN];
char user[CAMERA_USER_LEN];
char password[CAMERA_PASSWORD_LEN];
unsigned char dhcp_flag;
char ip[IPADDR_LEN];
char netmask[IPADDR_LEN];
char gateway[IPADDR_LEN];
char dns1[IPADDR_LEN];
char dns2[IPADDR_LEN];
int wait_result_millseconds;
}CAMERA_SET_INFO;
CAMERA_SET_INFO is the data to set the camera's network configure
Member | Expain |
id | Camera's ID |
user | The user of account to access the camera |
password | The password of account to access the camera |
dhcp_flag | Whether uses dhcp to get a IP address, 1:YES, 0:NO |
ip | Sets the IP address if not useing dhcp |
netmask | Sets the newmask if not useing dhcp |
gateway | Sets the gateway if not useing dhcp |
dns1 | Sets the first DNS if not useing dhcp |
dns2 | Sets the second DNS if not useing dhcp |
wait_result_millseconds | The time waiting for operation, unit:millisecond |