bool SetBLEAdvertisingSettings (int, int, string)

Set the interval and mode for BLE advertising.


Trust Level Required: Full Trust


Name Description
interval int
The advertising interval in milliseconds in units of .625ms. Min value: 100, Max value: 10240
mode int
The advertising mode, Min:1, Max: 8. Passing in 6 to 8 (reserved for future use) will result in a the default value of 1
devName (Optional) string
The name of the device. If not supplied, the first matching configured device of this type will be used


True in the event that the given values were set succesfully. False otherwise.



function setLEDStateOperation() {
	var startUp = document.getElementById('startUp').checked ? 0 : 1;
	var error = document.getElementById('error').checked ? 1 : 0;
	var connection = document.getElementById('connection').checked ? 1 : 0;
	updateResults('Success: ' + KioOmronEnviroSensor.SetLEDStateOperation(startUp, error, connection));



KioWare for Windows version 8.16 or greater.