宏定义 | 函数
ForceIPEx.cpp 文件参考

宏定义

#define PERSISTENT_CONFIG_REG   0x0014
 
#define PERSISTENT_IPADDR_REG   0x064C
 
#define PERSISTENT_SUBNETMASK_REG   0x065C
 
#define PERSISTENT_DEFAULTGATEWAY_REG   0x066C
 

函数

bool WritesToRegisters (char *chSerialNumber, unsigned int nIpAddr, unsigned int nNetWorkMask, unsigned int nDefaultGateway)
 
void WaitForKeyPress (void)
 
bool PrintDeviceInfo (MV_CC_DEVICE_INFO *pstMVDevInfo)
 
bool ConvertToHexIp (unsigned int *nHexIP, unsigned int *nDecIP, char c)
 
int main ()
 

宏定义说明

◆ PERSISTENT_CONFIG_REG

#define PERSISTENT_CONFIG_REG   0x0014
示例
ForceIPEx.cpp.

◆ PERSISTENT_IPADDR_REG

#define PERSISTENT_IPADDR_REG   0x064C
示例
ForceIPEx.cpp.

◆ PERSISTENT_SUBNETMASK_REG

#define PERSISTENT_SUBNETMASK_REG   0x065C
示例
ForceIPEx.cpp.

◆ PERSISTENT_DEFAULTGATEWAY_REG

#define PERSISTENT_DEFAULTGATEWAY_REG   0x066C
示例
ForceIPEx.cpp.

函数说明

◆ WritesToRegisters()

bool WritesToRegisters ( char *  chSerialNumber,
unsigned int  nIpAddr,
unsigned int  nNetWorkMask,
unsigned int  nDefaultGateway 
)
示例
ForceIPEx.cpp.

◆ WaitForKeyPress()

void WaitForKeyPress ( void  )
示例
ForceIPEx.cpp.

◆ PrintDeviceInfo()

bool PrintDeviceInfo ( MV_CC_DEVICE_INFO pstMVDevInfo)
示例
ForceIPEx.cpp.

◆ ConvertToHexIp()

bool ConvertToHexIp ( unsigned int *  nHexIP,
unsigned int *  nDecIP,
char  c 
)
示例
ForceIPEx.cpp.

◆ main()

int main ( )
示例
ForceIPEx.cpp.