CSP Management Protocol (CMP)
File: csp/csp_cmp.h
Description: CSP Management Protocol (CMP).
Defines
MACROS
Interface Functions
-
int csp_cmp(uint16_t node, uint32_t timeout, uint8_t code, int msg_size, struct csp_cmp_message *msg)
[source] Generic send management message request.
- Parameters:
node – address of subsystem.
timeout – timeout in mS to wait for reply..
code – request code.
msg_size – size of msg.
msg – data.
- Returns:
#CSP_ERR_NONE on success, otherwise an error code
-
static inline int csp_cmp_peek(uint16_t node, uint32_t timeout, struct csp_cmp_message *msg)
[source] Peek (read) memory on remote node.
- Parameters:
node – address of subsystem.
timeout – timeout in mS to wait for reply..
msg – memory address and number of bytes to peek. (msg peeked/read memory)
- Returns:
#CSP_ERR_NONE on success, otherwise an error code.
-
static inline int csp_cmp_poke(uint16_t node, uint32_t timeout, struct csp_cmp_message *msg)
[source] Poke (write) memory on remote node.
- Parameters:
node – address of subsystem.
timeout – timeout in mS to wait for reply..
msg – memory address, number of bytes and the actual bytes to poke/write.
- Returns:
#CSP_ERR_NONE on success, otherwise an error code.