FGate Status Change Push
FGate Status Change Push: TopicboxConnStateChanged
When the server detects a status changing in FGate, it will push a message.
The message content is in array format.
Properties of a Single Object:
Field | Type | Description |
---|---|---|
id | string | FGate ID |
state | int | Current state of the box: 0 for unknown, 1 for connected, 2 for timeout, 3 for disconnected |
net | int | Type of network connection: 1 for Ethernet, 2 for 2G, 3 for 3G (currently not supported), 4 for WIFI, 5 for 4G |
rssi | int | Signal strength: ranging from 0 to 8 |
vers | json array | FGate firmware versions: fcs, fds, floader |
mode | int | FGate mode: 0 for normal, 1 for transparent transmission |
Note States 1 and 2 represent online status, while 0 and 3 represent offline status. Depending on the state, call OpenFGate MonitorPoint