0
Отвечен

Check SSID and change host

Matheus Botura Pimenta 6 лет назад в Приложения / i3 Pro обновлен 6 лет назад 1

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: "192.168.0.10"})

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

});


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

IR.SubscribeTagChange("System.Net.SSID");
Отвечен

Hello!


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

"System.Net.SSID"

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

Сервис поддержки клиентов работает на платформе UserEcho