I have a string item, which contains my public IP.
Now i Want to get the ISP. If i run it in the command Line it will work.
Do i have to escape the forward slashes?
var String Device1_ISP=executeCommandLine("/usr/bin/curl@@ipinfo.io/"+Device1_IP_WAN.state.toString+"/org")
This works, if i run it directly in the commandline.
Note: i can not run curl ipinfo.io/org ,because the The public IP of OH is different.
Why do i want to have this?
Noticing changes in the Internet Connectivity, ISP1 is Telefonica, but when the Device connects to another Wifi or the SIM card is changed, the ISP might be different.