#if defined ( ZDO_BIND_UNBIND_REQUEST )
/*
* ZDP_BindReq - bind request
*
* @MT SPI_CMD_ZDO_BIND_REQ
* (UInt16 DstAddr,
* UInt64 SrcAddress,
* byte SrcEndpoint,
* uint16 ClusterID,
* zAddrType_t *DstAddress,
* byte DstEndpoint,
* byte SecuritySuite)
*
*/
#define ZDP_BindReq( dstAddr, SourceAddr, SrcEP, \
ClusterID, DestinationAddr, DstEP, SecurityEnable ) \
ZDP_BindUnbindReq( Bind_req, dstAddr, \
SourceAddr, SrcEP, ClusterID, \
DestinationAddr, DstEP, SecurityEnable )
#endif
上面#define 后面加个函数是什么用法???没有见过,哪位大侠能给小弟上堂课??? |