I want to be able to programmatically detect whether the router’s active connection is using LTE or not.
I have a RUTX50 installed in my camper van, and I intend to send large files to the cloud automatically.
But I don’t want to do that while using a metered connection (i.e., SIM cards with data limits). As long as the active connection is either WAN (Starlink) or WWAN (camping site WiFi), I can let the transfer process run.
So is there an easy way that I can use to query the router and retrieve the current active connection?