Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
Loading...
Searching...
No Matches
Bluetooth.idl
1
/* SPDX-License-Identifier: BSD-3-Clause */
2
/*
3
* Copyright 2025 Raritan Inc. All rights reserved.
4
*/
5
6
#include <UserEvent.idl>
7
8
/**
9
* Device Settings
10
*/
11
module
devsettings
{
12
13
/** %Bluetooth settings */
14
interface
Bluetooth
{
15
16
/** %Bluetooth antenna selection */
17
enumeration
Antenna
{
18
Internal
,
///< Internal antenna
19
External
///< External antenna
20
};
21
22
/** %Bluetooth settings */
23
structure
Settings
{
24
boolean
enabled
;
///< Enable %Bluetooth radio
25
Antenna
antenna
;
///< Antenna selection
26
};
27
28
/** Event: %Bluetooth settings have been changed */
29
valueobject
SettingsChangedEvent
extends
event
.UserEvent {
30
Settings
oldSettings
;
///< Settings before change
31
Settings
newSettings
;
///< Settings after change
32
};
33
34
/**
35
* Retrieve the %Bluetooth settings.
36
*
37
* @return %Bluetooth settings
38
*/
39
Settings
getSettings
();
40
41
/**
42
* Change the %Bluetooth settings.
43
*
44
* @param settings New settings
45
*
46
* @return 0 if OK
47
*/
48
int
setSettings
(in
Settings
settings);
49
50
};
51
52
}
devsettings::Bluetooth
Bluetooth settings
Definition
Bluetooth.idl:14
devsettings::Bluetooth::Antenna
Antenna
Bluetooth antenna selection
Definition
Bluetooth.idl:17
devsettings::Bluetooth::External
@ External
External antenna.
Definition
Bluetooth.idl:19
devsettings::Bluetooth::Internal
@ Internal
Internal antenna.
Definition
Bluetooth.idl:18
devsettings::Bluetooth::getSettings
Settings getSettings()
Retrieve the Bluetooth settings.
devsettings::Bluetooth::setSettings
int setSettings(in Settings settings)
Change the Bluetooth settings.
devsettings
Device Settings.
Definition
Bluetooth.idl:11
devsettings::Bluetooth::SettingsChangedEvent
Event: Bluetooth settings have been changed.
Definition
Bluetooth.idl:29
devsettings::Bluetooth::SettingsChangedEvent::newSettings
Settings newSettings
Settings after change.
Definition
Bluetooth.idl:31
devsettings::Bluetooth::SettingsChangedEvent::oldSettings
Settings oldSettings
Settings before change.
Definition
Bluetooth.idl:30
devsettings::Bluetooth::Settings
Bluetooth settings
Definition
Bluetooth.idl:23
devsettings::Bluetooth::Settings::enabled
boolean enabled
Enable Bluetooth radio.
Definition
Bluetooth.idl:24
devsettings::Bluetooth::Settings::antenna
Antenna antenna
Antenna selection.
Definition
Bluetooth.idl:25
Generated on Thu Jun 18 2026 06:08:00 for Legrand / Raritan / Server Technology Xerus™ JSON-RPC API by
1.13.2