Switch between WAN networks on-demand


#1

Building robots, currently using a MAX BR1 Mini with AT&T and Verizon SIM cards, and would really need the following features:

  1. Being able to switch between WAN networks on-demand:
    Let’s say AT&T is my primary network, Verizon is secondary.
    Suppose AT&T only has 3G reception but Verizon has 4G.
    I should be able to ask the device to make Verizon the primary network on-demand.

  2. Being able to get signal level and connection type (3G/4G) over SSH CLI.
    Currently it does not display this information if I type “get wan”. The IC2 API is not very good because it requires an outbound HTTP request over the internet which will fail if there is no internet connection. I’d still love to know the signal levels even if the device isn’t (yet) registered on the network. So I would love to have an API that I can talk directly to 192.168.50.1 (without going over the internet) to ask for signal levels and all the gory network/cellular details. Something as simple as http://192.168.50.1/get/wan would do, I should be able to access it password-less from the LAN side, and it should provide an application/json result like this:
    [
    {
    “active”:1,
    “signal_level”:"-98.0",
    “signal_type”:“lte”,
    “lte_band”:“4”,
    “lte_gci”:“99999999”,
    “lte_pci”:“999”,
    “lte_tac”:“99999”,
    “carrier”:“AT&T”
    },
    {
    “active”:0,
    “signal_level”:"-105.0",
    “signal_type”:“lte”,
    “lte_band”:“4”,
    “lte_gci”:“99999999”,
    “lte_pci”:“999”,
    “lte_tac”:“99999”,
    “carrier”:“Verizon”
    }
    ]