I want to use RUT240 devices to be a router for my IOT device, but my IOT device needs to have some awareness of whether its on wired or cell. I'm hoping to be able to use JSON-RPC for that purpose and have my device periodically ask the router which network its using for default route for WAN.
Is there an easy way to do this?