Wirepas SDK
control_node_int.h
Go to the documentation of this file.
1/* Copyright 2020 Wirepas Ltd. All Rights Reserved.
2 *
3 * See file LICENSE.txt for full license details.
4 *
5 */
6#ifndef _CONTROL_NODE_INT_H_
7#define _CONTROL_NODE_INT_H_
8
9#include "api.h"
10
12#define MAX_PAYLOAD 102
13
15#define CONTROL_DIAG_SRC_EP 237
16
18#define CONTROL_DIAG_DEST_EP 237
19
36
38typedef struct __attribute__ ((packed))
39{
45 uint16_t success;
47 uint16_t error;
51 uint32_t timing_us;
53
55typedef struct __attribute__ ((packed))
56{
62
63#endif //_CONTROL_NODE_INT_H_
control_diag_t diag
control_node_ret_e
Return codes of control functions.
@ CONTROL_RET_OK
@ CONTROL_RET_SEND_ERROR
@ CONTROL_RET_INVALID_ROLE
@ CONTROL_RET_INVALID_STATE
@ CONTROL_RET_ERROR
@ CONTROL_RET_INVALID_PARAM
Forwarded (by router to Sink) Diagnostic packet.
DA Diagnostic packet.
uint32_t app_addr_t
Definition wms_app.h:228