|
|
|
# D2Sphere Key / Value Specification
|
|
|
|
|
|
|
|
## Specification
|
|
|
|
D2Sphere SFAL TCP connector incommig message
|
|
|
|
```
|
|
|
|
$<sfal.data key1='value1' key2='value2' keyX='valueX'>" CRLF
|
|
|
|
$ .... CRLF
|
|
|
|
$<end> CRLF
|
|
|
|
```
|
|
|
|
additional key value will be handeled as well for following SFAL data frames
|
|
|
|
```
|
|
|
|
$<sfal.data key1='value1' key2='value2' keyX='valueX'>" CRLF
|
|
|
|
...
|
|
|
|
$<sfal.pos key1='value1' key2='value2' keyX='valueX'>" CRLF
|
|
|
|
...
|
|
|
|
$<sfal.event key1='value1' key2='value2' keyX='valueX'>" CRLF
|
|
|
|
...
|
|
|
|
$<sfal.*** key1='value1' key2='value2' keyX='valueX'>" CRLF
|
|
|
|
```
|
|
|
|
|
|
|
|
PFAL to send key value to server
|
|
|
|
```
|
|
|
|
$pfal,Tcp.Client.send,0,"<sfal.data key1='value1' key2='value2' keyX='valueX'>"
|
|
|
|
```
|
|
|
|
|
|
|
|
## Idea
|
|
|
|
|
|
|
|
- Service type (4G LTE/UMTS...)
|
|
|
|
|
|
|
|
- Received Bytes
|
|
|
|
|
|
|
|
- SignalLevel (RSSI)
|
|
|
|
|
|
|
|
- Sent Bytes
|
|
|
|
|
|
|
|
- SNMP Contact
|
|
|
|
|
|
|
|
- SNMP Description
|
|
|
|
|
|
|
|
- SNMP Location
|
|
|
|
|
|
|
|
- SNMP Router name
|
|
|
|
|
|
|
|
- Uptime
|
|
|
|
|
|
|
|
- SNMP interface details for all interfaces:
|
|
|
|
|
|
|
|
- Up/down status(admin/operational),
|
|
|
|
|
|
|
|
- interface description,
|
|
|
|
|
|
|
|
- incoming traffic & errors
|
|
|
|
|
|
|
|
- outgoing traffic & errors
|
|
|
|
- Packet loss through 5 ping tests
|
|
|
|
|
|
|
|
- Simple Ping availability through 5 retries
|
|
|
|
|
|
|
|
- Avg response time over 5 pings
|
|
|
|
|
|
|
|
- CPU Load
|
|
|
|
|
|
|
|
- RAM
|
|
|
|
|
|
|
|
## Implementation
|
|
|
|
|
|
|
|
- Service Type: /
|
|
|
|
|
|
|
|
- Received Bytes:
|
|
|
|
|
|
|
|
- SignalLevel (RSSI):
|
|
|
|
|
|
|
|
- Sent Bytes:
|
|
|
|
|
|
|
|
- Contact, input box on the D2sphere web interface
|
|
|
|
|
|
|
|
- Description, input box on the D2sphere web interface
|
|
|
|
|
|
|
|
- Location, input box on the D2sphere web interface
|
|
|
|
|
|
|
|
- Router name: /
|
|
|
|
|
|
|
|
- Uptime:
|
|
|
|
|
|
|
|
- Packet loss through 5 ping tests:
|
|
|
|
|
|
|
|
- Simple Ping availability through 5 retries:
|
|
|
|
|
|
|
|
- Avg response time over 5 pings:
|
|
|
|
|
|
|
|
- CPU Load:
|
|
|
|
|
|
|
|
- RAM:
|
|
|
|
|
|
|
|
- Network interface details for all interfaces:
|
|
|
|
|
|
|
|
- Up/down status(admin/operational),
|
|
|
|
|
|
|
|
- interface description,
|
|
|
|
|
|
|
|
- incoming traffic & errors
|
|
|
|
|
|
|
|
- outgoing traffic & errors |
|
|
|
\ No newline at end of file |