-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
Copy pathrs_net.h
29 lines (23 loc) · 934 Bytes
/
rs_net.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* License: Apache 2.0. See LICENSE file in root directory.
Copyright(c) 2020 Intel Corporation. All Rights Reserved. */
/** \file rs_net.h
* \
* Exposes RealSense network device functionality for C compilers
*/
#ifndef LIBREALSENSE_RS2_NET_H
#define LIBREALSENSE_RS2_NET_H
#ifdef __cplusplus
extern "C" {
#endif
#include "librealsense2/rs.h"
/**
* Net device is a rs2_device that can be stream and be contolled remotely over network
* \param[in] api_version Users are expected to pass their version of \c RS2_API_VERSION to make sure they are running the correct librealsense version.
* \param[in] address remote devce ip address. should be the address of the hosting device
* \param[out] error if non-null, receives any error that occurs during this call, otherwise, errors are ignored
*/
rs2_device* rs2_create_net_device(int api_version, const char* address, rs2_error** error);
#ifdef __cplusplus
}
#endif
#endif