Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

BlueThermProbe.SendCommand

Sends command to device.

Component Version macOS Windows Linux Server iOS SDK
BlueThermProbe 9.4 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "BlueThermProbe.SendCommand"; Device; Command )   More

Parameters

Parameter Description Example
Device The device identifier, name or index.
Empty value is first device.
0
Command Which command to run. "Identify"

Result

Returns OK or error.

Description

Sends command to device.

CommandDescription
MeasureRequests the device takes a measurement immediately and transmits it.
IdentifyRequests the device identifies itself, for example by flashing an LED
FactorySettingsRequests the device returns to factory settings, excluding trim values.
FactoryResetrequests the device returns to factory settings, including trim values.
refreshRequests all values to be read from the device

Examples

Ask first device to identify:

MBS( "BlueThermProbe.SendCommand"; 0; "Identify" )

This function is free to use.

Created 15th August 2019, last changed 1st April 2023


BlueThermProbe.RemoveDevice - BlueThermProbe.SetBatteryLevelScript