Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4    Statistic    FMM    Blog  


Sets the script trigger for new device.

Component Version macOS Windows Linux Server iOS SDK License
BlueThermProbe 9.4 ❌ No ❌ No ❌ No ❌ No ✅ Yes Paid
MBS( "BlueThermProbe.SetNewDeviceScript"; Filename; ScriptName )   More


Parameter Description Example
Filename The database file name where the script is located. "test.fmp12"
ScriptName The script name. "MyScript"


Returns OK or error.


Sets the script trigger for new device.
Called while scan for devices is running for each new device.
Parameter is a JSON object with deviceName, deviceIdentifier and timestamp.

See also

Created 15th August 2019, last changed 15th August 2019

BlueThermProbe.SetDisconnectedScript - BlueThermProbe.SetNotificationReceivedScript

Feedback: Report problem or ask question.

Start Chat