Wirepas SDK
|
Go to the source code of this file.
Data Structures | |
struct | control_diag_t |
DA Diagnostic packet. More... | |
struct | control_fwd_diag_t |
Forwarded (by router to Sink) Diagnostic packet. More... | |
Enumerations | |
enum | control_node_ret_e { CONTROL_RET_OK, CONTROL_RET_ERROR, CONTROL_RET_INVALID_STATE, CONTROL_RET_INVALID_PARAM, CONTROL_RET_INVALID_ROLE, CONTROL_RET_SEND_ERROR } |
Return codes of control functions. More... | |
Macros | |
#define | MAX_PAYLOAD 102 |
#define | CONTROL_DIAG_SRC_EP 237 |
#define | CONTROL_DIAG_DEST_EP 237 |
struct control_diag_t |
DA Diagnostic packet.
Definition at line 38 of file control_node_int.h.
Data Fields | ||
---|---|---|
uint16_t | error |
Number of diag packet sending error. |
uint8_t | proc_otap_seq |
lib_otap->getProcessedSeq(). |
uint8_t | stored_otap_seq |
lib_otap->getSeq(). |
uint16_t | success |
Number of diag packet sent successfully. |
uint32_t | timing_us |
Time from Control_Node_send call to ack received for packet n-1. 0xFFFFFFFF means last diag packet was not sent (error). |
struct control_fwd_diag_t |
Forwarded (by router to Sink) Diagnostic packet.
Definition at line 55 of file control_node_int.h.
Data Fields | ||
---|---|---|
app_addr_t | address |
Control node source address. |
control_diag_t | diag |
Diag packet sent by control node. |
enum control_node_ret_e |
Return codes of control functions.
Definition at line 21 of file control_node_int.h.
#define CONTROL_DIAG_DEST_EP 237 |
Destination endpoint used for DA diagnostics.
Definition at line 18 of file control_node_int.h.
#define CONTROL_DIAG_SRC_EP 237 |
Source endpoint used for DA diagnostics.
Definition at line 15 of file control_node_int.h.
#define MAX_PAYLOAD 102 |
Maximum packet size.
Definition at line 12 of file control_node_int.h.