Skip to main content

system-meta.proto#

download proto file

version proto3

path system-meta.proto

package service-system-meta

Delivery#

Messages are published using AMQP 0.9.1 as protobuf 3 encoded messages with a unique topie per message type.

RtlsStation - Message Rates#

Access Point CountAssociated Client CountReport Only AssociatedReport intervalMessages Received (per second)
820Yes30s45
820No30s82

AMQP Topics#

MessageTopic
ObservationOBSERVATION
AccessPointRadioACCESS_POINT_RADIO
WifiDeviceWIFI_DEVICE
WifiConnectionWIFI_CONNECTION
RtlsStationRTLS_STATION

Messages#

AccessPointRadio#

The AccessPointRadio message is the status of each attached radio to the access point. This is a scheduled event.

NameTypeDescription
timestampint32Unix timestamp of when the event occurs
deviceIdstringQ2 Device Id - The target access point identifer
channelint32The channel the radio is listening
nameint32The name of the radio
noisefloorint32The observed noisefloor of the radio
powerint32The output power of the radio
utilizationint32The overall utilization of the radio

Example Output#

{
"deviceId": "RGV2aWNlOjEx",
"timestamp": 1633570022,
"channel": 7,
"name": "",
"noisefloor": 96,
"power": 4,
"utilization": 51
}

Observation#

An observation message is triggered when a device position changes This is an ondemand event, it will trigger on any combination of services in which the location of the device has changed.

NameTypeDescription
deviceIdstringQ2 Device Id
lngfloatLongitude
latfloatLatitude
timestampint32Unix Timestamp of when the event occurred
userIdstringQ2 User Id - if a user is associated to the device this will be included

Example Output#

{
"deviceId": "RGV2aWNlOjEx",
"lng": -27.47460221177207,
"lat": 153.0299650775296,
"timestamp": 1633570022,
}

RtlsStation#

NameTypeDescription
accessPointIdstringQ2 Device Id - The source access point that provided the information
deviceIdstringQ2 Device Id - The target device observed
rssiint32The observed rssi of the device
txPowerint32The observed transmission power
channelint32The wireless channel that the device was observed on
noiseFloorint32The noise floor of the target device
dataRateint32The data rate of the device
radioBssidstringThe observed bssid used with the detecting the device
monitorBssidstringThe bssid used with the detecting the device
ageint32How long the device was seen for
timestampint32The unix timestamp of when the device was observed
userIdstringQ2 UserId - If an associated user is found this will be provided

Example Output#

{
"accessPointId": "RGV2aWNlOjc=",
"rssi": -87,
"txPower": 15,
"channel": 48,
"noiseFloor": 94,
"dataRate": 0,
"radioBssid": "b45d505e9070",
"age": 0,
"timestamp": 1633570042
}

WifiConnection#

The WifiConnection message is a more detailed insight in the wireless connection between the access point and the device. This is a scheduled event.

NameTypeDescription
timestampint32Unix timestamp of when the event has occured
signalDbint32The signal db of the connection
framesInint32The amount of incoming frames processed
framesOutint32The amount of outgoing frames processed
frameRetriesInint32The amount of incoming frames the had to be resent
frameRetriesOutint32The amount of outgoing frames the had to be resent
throughputInfloatThe amount of incoming throughput
throughputOutfloatThe amount of outgoing throughput
capableSpeedint32The detected capable speed
associationStartint32When the connection started
associationTimeint32how long the connection has been active
apMacAddressstringThe access points mac address
macAddressstringThe devices mac address
deviceIdstringQ2 Device Id - The devices id
userIdstringQ2 User Id - The users id if found
accessPointIdstringQ2 Device Id - The access point id

Example Output#

{
"timestamp": 1633570022,
"apMacAddress": "d4f5470764e1",
"macAddress": "d4f5470764e1",
"associationStart": 1631187922,
"associationTime": 2382100,
"signalDb": 56,
"framesIn": 259,
"framesOut": 190,
"throughputIn": 0.02350099999999955,
"throughputOut": 0.018966999999999956,
"frameRetriesIn": 10,
"frameRetriesOut": 1,
"capableSpeed": 150,
"deviceId": "RGV2aWNlOjI=",
"accessPointId": "RGV2aWNlOjQ="
}

WifiDevice#

The WifiDevice message is the status of each connected device to an access point. This is a scheduled event.

NameTypeDescription
timestampint32Unix timestamp of when the event has occured
signalDbint32The signal strength of the device
capableSpeedfloatThe detected capable speed
connectionTimeint32The total time the device has been connected
connectionStartint32When the initial connection was created
channelint32What channel the device is connected on
apMacAddressstringThe connected access point's mac address
apIpAddressstringThis connected access point's ip address
clientMatchboolis client match turned on
essidstringThe essid of the connection
infoTimestampstringThe reported info timestamp from the access point
ipAddressstringThe detected ip address of the device
ip6AddressstringThe detected ipov6 address of the device
macAddressstringThe mac address of the device
namestringThe detected name of the device
osstringThe detected operating system of the device
rolestringThe role assigned by the access point
typestringThe type of device assigned by the access point
deviceIdstringQ2 Device Id - the devices id
accessPointIdstringQ2 Device Id - the connected access point id
userIdstringQ2 User Id - if found the associated users id

Example Output#

{
"apMacAddress": "204c030e8e20",
"apIpAddress": "100.101.1.106",
"channel": 0,
"clientMatch": "Disabled",
"connectionStart": 1631187922,
"connectionTime": 2382100,
"essid": "VostroNet",
"infoTimestamp": 1633570022,
"ipAddress": "100.101.1.144",
"macAddress": "d4f5470764e1",
"name": "Google-Nest-Mini",
"os": "Linux",
"role": "",
"signalDb": 56,
"capableSpeed": 150,
"type": "",
"timestamp": 1633570022,
"accessPointId": "RGV2aWNlOjQ=",
"deviceId": "RGV2aWNlOjI="
}