Legrand / Raritan / Server Technology Xerus™ JSON-RPC API

Loading...
Searching...
No Matches
PosElement.idl
1/* SPDX-License-Identifier: BSD-3-Clause */
2/*
3 * Copyright 2012 Raritan Inc. All rights reserved.
4 */
5
6#ifndef __PERIPHERAL_POSITION__
7#define __PERIPHERAL_POSITION__
8
9/** Peripheral Devices */
10module peripheral {
11
12 /** peripheral device port types */
13 [unknown_fallback("UNSPECIFIED")]
14 enumeration PortType {
15 ONBOARD, ///< a built in, inaccessible port
16 DEV_PORT, ///< a sensor port on the device
17 ONEWIRE_HUB_PORT, ///< a port on a Hub
18 ONEWIRE_CHAIN_POS, ///< a chain position
19 REMOTE_HUB_PORT, ///< a RS485 remote hub port
20 WIRELESS_BRIDGE, ///< a wireless bridge, e.g. usb dongle
21 WIRELESS_DEVICE, ///< a wireless device
22 UNSPECIFIED, ///< device type is unknown
23 GATEWAY_SENSOR, ///< a gateway sensor
24 FEATURE_PORT, ///< the feature port
25 USB_PORT, ///< USB port
26 USB_HUB_PORT, ///< USB hub port
27 USB_RS485_DONGLE ///< USB dongle with rs485 port
28 };
29
30 /** peripheral device position element, list forms position */
31 structure PosElement {
32 PortType portType; ///< type of the element
33 string port; ///< value of the element, a label
34 };
35}
36
37#endif /* !__PERIPHERAL_POSITION__ */
peripheral
Peripheral Devices.
Definition GatewaySensorManager.idl:17
peripheral::PortType
PortType
peripheral device port types
Definition PosElement.idl:14
peripheral::REMOTE_HUB_PORT
@ REMOTE_HUB_PORT
a RS485 remote hub port
Definition PosElement.idl:19
peripheral::FEATURE_PORT
@ FEATURE_PORT
the feature port
Definition PosElement.idl:24
peripheral::USB_HUB_PORT
@ USB_HUB_PORT
USB hub port.
Definition PosElement.idl:26
peripheral::WIRELESS_BRIDGE
@ WIRELESS_BRIDGE
a wireless bridge, e.g. usb dongle
Definition PosElement.idl:20
peripheral::WIRELESS_DEVICE
@ WIRELESS_DEVICE
a wireless device
Definition PosElement.idl:21
peripheral::UNSPECIFIED
@ UNSPECIFIED
device type is unknown
Definition PosElement.idl:22
peripheral::ONBOARD
@ ONBOARD
a built in, inaccessible port
Definition PosElement.idl:15
peripheral::ONEWIRE_HUB_PORT
@ ONEWIRE_HUB_PORT
a port on a Hub
Definition PosElement.idl:17
peripheral::ONEWIRE_CHAIN_POS
@ ONEWIRE_CHAIN_POS
a chain position
Definition PosElement.idl:18
peripheral::USB_PORT
@ USB_PORT
USB port.
Definition PosElement.idl:25
peripheral::GATEWAY_SENSOR
@ GATEWAY_SENSOR
a gateway sensor
Definition PosElement.idl:23
peripheral::DEV_PORT
@ DEV_PORT
a sensor port on the device
Definition PosElement.idl:16
peripheral::USB_RS485_DONGLE
@ USB_RS485_DONGLE
USB dongle with rs485 port.
Definition PosElement.idl:27
peripheral::PosElement
peripheral device position element, list forms position
Definition PosElement.idl:31
peripheral::PosElement::portType
PortType portType
type of the element
Definition PosElement.idl:32
peripheral::PosElement::port
string port
value of the element, a label
Definition PosElement.idl:33