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 Devices.
PortType
peripheral device port types
Definition: PosElement.idl:14
@ REMOTE_HUB_PORT
a RS485 remote hub port
Definition: PosElement.idl:19
@ FEATURE_PORT
the feature port
Definition: PosElement.idl:24
@ USB_HUB_PORT
USB hub port.
Definition: PosElement.idl:26
@ WIRELESS_BRIDGE
a wireless bridge, e.g. usb dongle
Definition: PosElement.idl:20
@ WIRELESS_DEVICE
a wireless device
Definition: PosElement.idl:21
@ UNSPECIFIED
device type is unknown
Definition: PosElement.idl:22
@ ONBOARD
a built in, inaccessible port
Definition: PosElement.idl:15
@ ONEWIRE_HUB_PORT
a port on a Hub
Definition: PosElement.idl:17
@ ONEWIRE_CHAIN_POS
a chain position
Definition: PosElement.idl:18
@ USB_PORT
USB port.
Definition: PosElement.idl:25
@ GATEWAY_SENSOR
a gateway sensor
Definition: PosElement.idl:23
@ DEV_PORT
a sensor port on the device
Definition: PosElement.idl:16
@ USB_RS485_DONGLE
USB dongle with rs485 port.
Definition: PosElement.idl:27
peripheral device position element, list forms position
Definition: PosElement.idl:31
PortType portType
type of the element
Definition: PosElement.idl:32
string port
value of the element, a label
Definition: PosElement.idl:33