Options

Possible options that can be used in the plugin measure

Role

The Role of operations the plugin will perform when its measure is updated.

This is the DEFAULT Role

Description: Get/Update the Bluetooth status and Bluetooth devices

Plugin Measure: Returns 0

Available Bangs:

Example
[BluetoothMeasure]
Measure=Plugin
Plugin=Bluetooth
Role=[0/1/2]

UpdateAction

The list of bangs that needs to be executed when the measure is updated.

Example
[BluetoothMeasure]
Measure=Plugin
Plugin=Bluetooth
UpdateAction=[!Log "Bang1" Debug][!Log "Bang2" Debug]
UpdateDivider=30

OutputFile

The path of an output file you want to save the devices list to.

The file will have this structure:

@Resources/output.txt
device_name|device_address|device_id|connected[0,1]|paired[0,1]|can_pair[0,1]major_category|minor_category|has_battery_level[0,1]|battery|is_ble[0,1];
device_name|device_address|device_id|connected[0,1]|paired[0,1]|can_pair[0,1]major_category|minor_category|has_battery_level[0,1]|battery|is_ble[0,1];
...
Example
[BluetoothMeasure]
Measure=Plugin
Plugin=Bluetooth
OutputFile=#CURRENTPATH#\Devices.txt
UpdateDivider=30

This example saves the list of devices in a file in #CURRENTPATH#\Devices.txt.

ThumbnailsFolder

The path of the folder you want to save devices thumbnails to.

The thumbnails are managed by Windows, and are a visual representation of the Major Category or of the Minor Category of the device if present.

[BluetoothDevicesMeasure]
Measure=Plugin
Plugin=Bluetooth
ThumbnailsFolder=#CURRENTPATH#\img
UpdateDivider=30

This example saves the images in the folder #CURRENTPATH#\img.

These are a couple of examples of thumbnails:

  • mouse:

  • phone:

  • speaker:

Last updated

Was this helpful?