The information contained in this document is subject to change. This document contains proprietary information, which is protected by copyright
laws. All rights are reserved. No part of this document may be photocopied, reproduced or translated to another language or program language
without prior written consent of RFI Engineering B.V.
RefGuide_U-routerNGW_v1.01.docx
Page: 42(
57)
14.5 Status
The ‘
status
’ endpoint provides information on the current status of the U-router NGW. Such as the
connections status to the mobile network, signal levels and the status of the interfaces and relay.
ENDPOINT
GET /api/status
For example:
curl https://192.168.168.1/api/status -u rfi:rfi123
Returns:
{
"system": {
"magic": "801f1254298e",
"softwareVersion": "ngw-daemon 1.74 [Jul 19 2020 18:38:45]",
"hardwareVersion": "2.2",
"osSysname": "Linux",
"osRelease": "5.4.20",
"osMachine": "armv5tejl",
"serialNumber": "RE.45.HCRG.02400",
"productionDate": "Tue 18 Aug 2020 06:53:50",
"flavour": "rfi0",
"imei": "354679094334664",
"manufacturer": "u-blox",
"model": "SARA-R412M-02B",
"revision": "M0.10.00 1 [Mar 28 2019 17:13:41]"
},
"mobile": {
"simStatus": "SIM READY",
"registrationStatus": "registered",
"networkName": "204 04 (Vodafone Libertel, Netherlands)",
"signalPower": "16",
"signalDbm": "-81",
"signalQuality": "Fair",
"ICCID": "8931440301417156153F"
},
"interfaces": [{
"id": "eth0",
"mac": "40:28:14:fe:dd:b7",
"state": "up",
"method": "static",
"ip": "192.168.168.1",
"mask": "255.255.255.0"
}],
"relays": [{
"id": "0",
"description": "Internal relay is not used",
"relayState": "OFF",
"rpswState": "RPSW Disconnected"
}],
"status": "OK"
}