Javascript to set Static IP Address for Android Device

R
rathasatekun
Gosoft (Thailand) Co.,Ltd.

i have use case that

I have android tablet about 10000 items by each every tablet have own ipaddress and i have  ini file to save tablet number, 

i want to set static ipaddress for every tablet 

example

tablet 1  id 0001  static ip address is 111.100.101.111 

tablet 2 id 0001  static ip address is 111.100.102.111  

tablet 3  id 0001  static ip address is 111.100.103.111  

tablet 4  id 0001  static ip address is 111.100.104.111  

tablet 5  id 0001  static ip address is 111.100.105.111  

how to do that with javascript 

a year ago
Android
ANSWERS

To be honest, i think there's currently no way of doing that.

The Javascript dosumentation (for Soti) can be found here (haven't seen an option to set it here): https://www.soti.net/mc/help/javascriptapi/en/index.html

In general it seem to be maybe possible but needs deep knowledge of Javascript and how Soti's part works, so i would recommend to get someone from Soti directly involved in that regard if not someone else already used that.

Also read this: https://discussions.soti.net/thread/setting-static-ips-from-soti-settings-app-on-android

You can take a look into the relevant oem config app if it provides such functionality to set static ips.

ZC
Zafer Cigdem
a year ago

I also did not see any JS from SOTI library, or API yet to set static IPs to the devices. I agree with Rafael, I'd check OEM configs side. 

Zafer

A
AKMOD@SOTI
a year ago

Hi rathasatekun,

Thanks for posting on SOTI Pulse, Thanks  Rafael and Zafer for responding to the post, your expertise and willingness to help are greatly appreciated!

Have you had an opportunity to test the suggested solutions by Rafael and Zafer , and has it successfully addressed your query?

If not, or If you have any additional questions or concerns, please don't hesitate to reach out. We're dedicated to providing assistance and support.