MT:Telnet (or Winbox clone) automated ack-timeout retrieval

I wrote an app that holds a DB of all my clients & their equipment. So far I can record usage, send bulk emails, and let the program check all RB (AP & clients) for ROS version, then upload via FTP the updates & reboot the units. The program logs in automatically via Telnet to check version numbers, reboot etc.

Now I would like to get the ack-timeout values of all registered clients on an AP from my program but cannot find a way to get it via Telnet.

Mikrotik guys, 2 questions:

  1. How can I get the ack-timeout values for Wireless/Registrations from a ROS via Telnet
  2. even better, is there some other way I can communicate with ROS like Winbox does through port 80(I think)? Is there some documentation on the protocol you use for Winbox or how does it work?

Reason I want this is it seems ack-timeout on a client is a another indication of echo-effect or some localised interference as signal strength doesn’t seem to indicate necessarily a problem. (Had some clients with good signal strength, but bad acks and bad connectivity) To do it manually is just crazy, so I want my prog to scan my whole network and give me a report of signal-strengths, uptime, ack-timeout, etc. so I can be proactive in catching problems. But this goes further than ack-timeout, as I think of more uses, I’ll want to get some other info as well…

Thanks in advance