- Main
- Tutorials
- Library
- Samples

- File List
- Globals

mx_node_interface_data_access.h
Go to the documentation of this file.
1 /* Copyright (C) 2019 Moxa Inc. All rights reserved. */
2 /* SPDX-License-Identifier: Apache-2.0 */
13 #ifndef __MX_NODE_INTERFACE_DATA_ACCESS__
14 #define __MX_NODE_INTERFACE_DATA_ACCESS__
15
16 #include <sys/time.h>
17 #include "mx_node_node_def.h"
18
46 MX_NODE_RESULT mx_node_operator_read_node(MX_NODE_NODE_HANDLE node_handle, MX_NODE_VARIANT* node_value, struct timeval* node_timestamp);
47
54 MX_NODE_RESULT mx_node_operator_write_node(MX_NODE_NODE_HANDLE node_handle, const MX_NODE_VARIANT* node_value);
55
57
59
61
63
64 #endif
mx_node_operator_write_node
MX_NODE_RESULT mx_node_operator_write_node(MX_NODE_NODE_HANDLE node_handle, const MX_NODE_VARIANT *node_value)
Write data by handle index.
_MX_NODE_VARIANT
A variant structure is used to store different type&#39;s data.
Definition: mx_node_node_def.h:97
MX_NODE_NODE_HANDLE
size_t MX_NODE_NODE_HANDLE
Handle of a node.
Definition: mx_node_node.h:42
MX_NODE_RESULT
enum _MX_NODE_RESULT MX_NODE_RESULT
A result enumeration represents success or not.
mx_node_operator_read_node
MX_NODE_RESULT mx_node_operator_read_node(MX_NODE_NODE_HANDLE node_handle, MX_NODE_VARIANT *node_value, struct timeval *node_timestamp)
Read a node&#39;s data and timestamp.
mx_node_node_def.h
MX_NODE_NODE &#39;s correlative types.