From Shenzhen XRC Tech Co.,Ltd.


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 is the data to set the camera's network configure
idCamera's ID
userThe user of account to access the camera
passwordThe password of account to access the camera
dhcp_flagWhether uses dhcp to get a IP address, 1:YES, 0:NO
ipSets the IP address if not useing dhcp
netmaskSets the newmask if not useing dhcp
gatewaySets the gateway if not useing dhcp
dns1Sets the first DNS if not useing dhcp
dns2Sets the second DNS if not useing dhcp
wait_result_millsecondsThe time waiting for operation, unit:millisecond
Retrieved from
Page last modified on April 12, 2013, at 11:27 AM EST