39 lines
745 B
C
39 lines
745 B
C
![]() |
|
|||
|
|
|||
|
#ifndef TOOL_SCANIP_123_INCLUDED
|
|||
|
#define TOOL_SCANIP_123_INCLUDED
|
|||
|
|
|||
|
|
|||
|
#include "glbtypes.h"
|
|||
|
|
|||
|
#ifdef __cplusplus
|
|||
|
extern "C" {
|
|||
|
#endif
|
|||
|
/************************************************************************/
|
|||
|
|
|||
|
//ɨ<><C9A8>IPʱ<50><CAB1><EFBFBD><EFBFBD><EFBFBD>ذ<EFBFBD><D8B0><EFBFBD>IP<49>Ͷ˿<CDB6>
|
|||
|
#define SCAN_LOCAL_IP "0.0.0.0"
|
|||
|
//<2F><EFBFBD>Ϊ1<CEAA><31>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD>Ķ˿<C4B6>
|
|||
|
#define SCAN_LOCAL_PORT 8003
|
|||
|
|
|||
|
#define SCAN_REMOTE_IP "255.255.255.255"
|
|||
|
#define SCAN_REMOTE_PORT 7000
|
|||
|
|
|||
|
|
|||
|
ST_RET tool_scanip_init( void );
|
|||
|
|
|||
|
ST_RET tool_scanip_release( void );
|
|||
|
|
|||
|
ST_RET tool_scanip_handle_send( ST_UCHAR devAddr, ST_UCHAR devFun, ST_UINT32 dlqNo, ST_UCHAR frequence );
|
|||
|
|
|||
|
ST_RET tool_scanip_handle_deal( ST_VOID );
|
|||
|
|
|||
|
/************************************************************************/
|
|||
|
#ifdef __cplusplus
|
|||
|
}
|
|||
|
#endif
|
|||
|
|
|||
|
|
|||
|
#endif
|
|||
|
|