CMP API

group CMP

Defines

CSP_CMP_REQUEST 0x00
CSP_CMP_REPLY 0xff
CSP_CMP_IDENT 1
CSP_CMP_IDENT_REV_LEN 20
CSP_CMP_IDENT_DATE_LEN 12
CSP_CMP_IDENT_TIME_LEN 9
CSP_CMP_ROUTE_SET 2
CSP_CMP_ROUTE_IFACE_LEN 11
CSP_CMP_IF_STATS 3
CSP_CMP_PEEK 4
CSP_CMP_PEEK_MAX_LEN 200
CSP_CMP_POKE 5
CSP_CMP_POKE_MAX_LEN 200
CSP_CMP_CLOCK 6
CMP_SIZE(_memb) (sizeof(((struct csp_cmp_message *)0)->_memb) + sizeof(uint8_t) + sizeof(uint8_t))
CMP_MESSAGE(_code, _memb) static inline int csp_cmp_##_memb(uint8_t node, uint32_t timeout, struct csp_cmp_message *msg) { \ return csp_cmp(node, timeout, _code, CMP_SIZE(_memb), msg); \ }

Functions

int csp_cmp(uint8_t node, uint32_t timeout, uint8_t code, int membsize, struct csp_cmp_message *msg)