Check SSID and change host

Matheus Botura Pimenta 8 jaar geleden in Applications / i3 Pro bijgewerkt door office_iridiummobile ru (manager) 2 jaar geleden 3

The following script works fine with Windows, but when I send it to Android the application doesn´t even opens.

IR.SetGlobalListener(IR.EVENT_GLOBAL_TAG_CHANGE, function(name, value)


if (IR.GetVariable("System.Net.SSID") == "My wifi") IR.GetDevice("iRidium Server").SetParameters({Host: ""})

else IR.GetDevice("iRidium Server").SetParameters({Host: "myserver.com"})


////////////////////////////////////////// Subscribe



Yes we are aware of the problem associated with the token to get the name of the network


And we have corrected it, the changes will be included in the next release.

Was there a fix for this already? I am getting <unknown ssid> when run on android

Yes. This was done a long time ago.

If you have any trouble about this question, then you'll need to send your question to support@iridi.com. Our specialists work there, we changed our help desk.