Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
usb::Usb Interface Reference

USB interface. More...

Classes

struct  Settings
 USB interface settings. More...
 
struct  SettingsChangedEvent
 Event: Settings have changed. More...
 

Public Member Functions

Settings getSettings ()
 Retrieve the USB interface settings. More...
 
int setSettings (in Settings settings)
 Change the USB interface settings. More...
 
int getHostPortCount ()
 Retrieve the number of external USB-A ports. More...
 
void getDevices (out vector< UsbDevice > usbDevices)
 Get a list of USB devices connected to the host ports. More...
 

Detailed Description

USB interface.

Definition at line 25 of file Usb.idl.

Member Function Documentation

◆ getDevices()

void usb::Usb::getDevices ( out vector< UsbDevice usbDevices)

Get a list of USB devices connected to the host ports.

Parameters
usbDevicesResult: List of discovered devices

◆ getHostPortCount()

int usb::Usb::getHostPortCount ( )

Retrieve the number of external USB-A ports.

Returns
Number of host ports

◆ getSettings()

Settings usb::Usb::getSettings ( )

Retrieve the USB interface settings.

Returns
USB interface settings

◆ setSettings()

int usb::Usb::setSettings ( in Settings  settings)

Change the USB interface settings.

Parameters
settingsNew settings
Returns
0 if OK

The documentation for this interface was generated from the following file: