Our experiments show that ubus call sim get work in both v6 and v7.
root@VPN087:~# cat /etc/version
RUT9XX_R_00.06.07.3
root@VPN087:~# ubus call sim get
{
"sim": 2
}
root@VPN087:~#
root@Teltonika-RUT955:~# cat /etc/version
RUT9_R_00.07.01.4
root@Teltonika-RUT955:~# ubus call sim get
{
"sim": 1
}
root@Teltonika-RUT955:~#
However we are still trying to find a way to switch sim that works in both v6 and v7. Is this possible?
For v6 this works:
sim_switch change sim1
But this fails in v7. And for v7 we can use:
ubus call sim change
But in v6 this takes the device offline for >10 minutes and sim is not switched, probably due to sim failover.