Skip to main content
Version: 2.8

Bluetooth Device Driver Configuration

Plugin Configuration

The plugin configuration file is named settings.json located in <install directory>\Config\HumanOS.UHAL.BluetoothDeviceDriver\. It contains all global settings of the plugin.

See Generic Plugin Configuration for more details.

Device Information File

The device information file is used to configure the access to the Bluetooth devices. It contains:

  • Id: unique device id (GUID), which MUST match the device license id.
  • DriverId: 11034AA5-13C7-4D05-83E0-361BC816E779
  • Address: Connection address
  • Data Access

See Device Information Model for more details.

Connection Address

The Bluetooth device driver needs an Endpoint address (device broadcast name), and a service Id (UUID).

The Address for Bluetooth device driver must be provided like following:

NameDescriptionExample
AddressDevice NameTestDevice

This information is contained by the device configuration.

Property BluetoothService

This segment contains the Bluetooth service UUID to connect to. It must be provided as full UUID or GUID.

NameDescriptionExample
BluetoothServiceA self-defined service636BFE0E-9779-4FFD-8B96-775832B584EA
IMPORTANT

The service id must match on both devices.

Example

{
"Name": "BtClient1",
"Id": "3228f878-e1f3-4f62-84af-d9b6b0a18182",
"DriverId": "11034AA5-13C7-4D05-83E0-361BC816E779",
"Address": "BTDEVICE01",
"Properties": [
{
"Name": "BluetoothService",
"Value": "5A63932F-9996-4CC6-A2B2-5F53C4CABCEE"
}
]
}