csp_cmp.h File Reference
Go to the source code of this file.
Data Structures |
Macros | |
#define CSP_CMP_REQUEST 0x00 | |
#define CSP_CMP_REPLY 0xff | |
#define CSP_CMP_IDENT 1 | |
#define CSP_CMP_IDENT_REV_LEN 20 | |
#define CSP_CMP_IDENT_DATE_LEN 12 | |
#define CSP_CMP_IDENT_TIME_LEN 9 | |
#define CSP_CMP_ROUTE_SET 2 | |
#define CSP_CMP_ROUTE_IFACE_LEN 11 | |
#define CSP_CMP_IF_STATS 3 | |
#define CSP_CMP_PEEK 4 | |
#define CSP_CMP_PEEK_MAX_LEN 200 | |
#define CSP_CMP_POKE 5 | |
#define CSP_CMP_POKE_MAX_LEN 200 | |
#define CSP_CMP_CLOCK 6 | |
#define CMP_SIZE(_memb) (sizeof(((struct csp_cmp_message *)0)->_memb) + sizeof(uint8_t) + sizeof(uint8_t)) | |
#define CMP_MESSAGE(_code, _memb) | |
Functions | |
int csp_cmp (uint8_t node, uint32_t timeout, uint8_t code, int membsize, struct csp_cmp_message *msg) | |