Two things. Firstly, I am yet again trying to write iPad programs to remote control my ZyXEL VMG1312-B10A modems somehow using the iOS ‘Shortcuts’ programming system. I don’t seem to have a telnet api in Shortcuts, but if there were another easy telnet function that could be indirectly invoked somehow then that would be an answer. I do have an http api in Shortcuts though and I have already been able to successfully drive the ‘easy stats’ http interface provided in my Kitizen Johnson custom firmware modems in order to query the modems for info such as sync speeds without having to log in (as it’s a safe read-only-like api).
I would like to be able to remotely issue an adsl connection --up command, maybe by http if that’s even possible, and be able to automate it. Anyway, something to force a resync. I would also like to be able to force a resync at a particular minimum target SNRM if that’s possible. Given the stupid limitations of the tools that I happen to have available to me on the iPad, it might be that I would need some assistance within the modem to get it to help to make that command accessible by http, since http is about all I have (programmatically, that is) at the moment.
Secondly, I am exploring some very vague ill-formed ideas about doing some kind of DLM for my crazy line #3 with its varying upstream attenuation problem. The idea is that if the upstream SNRM drops below a certain level then I’m considering forcing a resync to get the upstream SNRM up to a safe minimum.
Perhaps the would be the way to go would not to try to remote control the modem to sort things out, although an easy remote ‘resync now’ command would be very useful, but rather to put a DLM service process/daemon into the modem itself and order it to monitor its own upstream SNRM and resync if necessary. To be safe there would have to be a state machine with timers and so forth so that rather than simply forcing a resync, the system would have to ‘ask for one’ which would involve checking guard time intervals so that there would be an enforced minimum time interval between such SNRM-triggered resyncs and ensure some kind of sanity.
I have absolutely no idea about how to require a target upstream SNRM though.