123456789101112131415161718 |
- #ifndef __DOMAIN_H_
- #define __DOMAIN_H_
- #include "main.h"
- #include "datatype.h"
- typedef enum{
- DOMAIN_OK,
- DOMAIN_ERR,
- DOMAIN_WAIT
- }DOMAIN_STEP;
- T_BOOL setDomainForIp(T_INT8 *addr, T_UINT8 *index);
- T_UINT8 getDomainForIp(T_UINT8 index, T_INT8 *outIp, T_UINT8 outLen);
- PT_THREAD (ptDomainTask(pt_timer_t *ptPool, struct pt *pt));
- void tryDomain(T_UINT8 *data, T_UINT16 len);
- #endif
|