typedef struct tagCameraSearchInfo
{
char id[CAMERA_ID_LEN];
char firmware_version[CAMERA_FIRMWARE_VERSION_LEN];
char web_version[CAMERA_WEB_VERSION_LEN];
char name[CAMERA_NAME_LEN];
char currect_ip[IPADDR_LEN];
char currect_netmask[IPADDR_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];
unsigned short port;
unsigned char https_flag;
unsigned long model;
}CAMERA_SEARCH_INFO;
CAMERA_SEARCH_INFO is the data sent to user by library when event occur on seraching cameras.
Member | Expain |
id | camera ID |
firmware_version | Camera's firmware's version |
web_version | Camera's web's version |
name | Camera's name |
currect_ip | Camera's currect IP address |
currect_netmask | Camera's currect netmask |
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 |
port | Camera's port |
https_flag | Whether uses https |
model | Camera's model |