I.g. GPS-info is requested from modem by means of AT-cmds. Thus, to write a small script to do this only depends upon modem, built into the respective router, as many AT-cmds are modem specific. Script then has to format modem info to be passed on, in your case to be XML. This procedure is applicable to practically all routers having LTE modem.