Loading...
Searching...
No Matches
PosElement.idl
/* SPDX-License-Identifier: BSD-3-Clause */
/*
* Copyright 2012 Raritan Inc. All rights reserved.
*/
#ifndef __PERIPHERAL_POSITION__
#define __PERIPHERAL_POSITION__
/** Peripheral Devices */
module peripheral {
/** peripheral device port types */
[unknown_fallback("UNSPECIFIED")]
enumeration PortType {
ONBOARD, ///< a built in, inaccessible port
DEV_PORT, ///< a sensor port on the device
ONEWIRE_HUB_PORT, ///< a port on a Hub
ONEWIRE_CHAIN_POS, ///< a chain position
REMOTE_HUB_PORT, ///< a RS485 remote hub port
WIRELESS_BRIDGE, ///< a wireless bridge, e.g. usb dongle
WIRELESS_DEVICE, ///< a wireless device
UNSPECIFIED, ///< device type is unknown
GATEWAY_SENSOR, ///< a gateway sensor
FEATURE_PORT, ///< the feature port
USB_PORT, ///< USB port
USB_HUB_PORT, ///< USB hub port
USB_RS485_DONGLE ///< USB dongle with rs485 port
};
/** peripheral device position element, list forms position */
structure PosElement {
PortType portType; ///< type of the element
string port; ///< value of the element, a label
};
}
#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