Status
Status represents a status (update) message.
| Field | Type | Label | Description |
| time | Time |
Ubidium's time when the status message was generated |
|
| id | string | optional |
device ID |
| name | string | optional |
name |
| version | string | optional |
Firmware version |
| cust_no | uint32 | optional |
configured customer number |
| passing_id | uint64 | optional |
ID of most current passing |
| passing_no | Status.PassingNo | optional |
number of most current passing |
| active_internal | Status.Active | optional |
internal active status |
| passive | Status.Passive | optional |
Status of the connected passive equipment |
| gps | Status.GPS | optional |
GPS status |
| battery_slot1 | Status.BatterySlot | optional |
status of battery slot 1 |
| battery_slot2 | Status.BatterySlot | optional |
status of battery slot 2 |
| temperature | double | optional |
current temperature (measured on the main board) |
| power | Status.Power | optional |
power status |
| update | Update | optional | firmware update status |
Status.PassingNo
Passing and/or file number
| Field | Type | Label | Description |
| file | uint32 | optional |
|
| no | uint32 | optional |
Status.Active
Status of an active device
| Field | Type | Label | Description |
| self | Status.Active.Beacon |
our beacon data |
|
| others | Status.Active.OthersEntry | repeated |
other known beacon data, key is ID |
| status | ActiveStatus | optional | status of the activeboard |
Status.Active.Beacon
Beacon
| Field | Type | Label | Description |
| channel | uint32 | optional |
loop channel |
| loop_id | uint32 | optional |
loop ID |
| power | uint32 | optional |
loop power |
| loop_status | uint32 | optional |
loop status |
| last_seen | Time | optional |
beacon time |
| mode | uint32 | optional |
mode |
| power_con | uint32 | optional |
power con |
| power_status | uint32 | optional |
power status |
| beacon_index | uint32 | optional |
beacon index |
| ch_noise_avg | uint32 | optional |
channel noise average |
| trans_lqi | uint32 | optional |
transponder LQI |
| trans_energy_detect | uint32 | optional |
transponder energy detect |
| beacon_lqi | uint32 | optional |
beacon LQI |
| beacon_energy_detect | uint32 | optional |
beacon energy detect |
| mode_box | uint32 | optional |
beacon box mode |
| temperature | int32 | optional |
temperature |
Status.Active.OptionalBeacon
OptionalBeacon is an optional beacon
| Field | Type | Label | Description |
| beacon | Status.Active.Beacon | optional |
beacon |
Status.Active.OthersEntry
| Field |
Type |
Label | Description |
| key | uint32 |
|
|
| value | Status.Active.OptionalBeacon |
|
Status.Passive
Status of passive equipment
| Field | Type | Label | Description |
| elements | Status.Passive.ElementsEntry | repeated |
known element data, key is ID |
| transponder_type | TransponderType | optional | transponder type setting |
| power | PassivePower | optional | power setting |
| has_low_power_frequency | bool | optional | true, if at least one frequency with lower power is used due to regulatory reasons |
Status.Passive.Element
Status of a single antenna element
| Field | Type | Label | Description |
| position | uint32 | optional |
element position |
| string_no | uint32 | optional |
string number the element is part of |
| status | ElementStatus | optional |
element status |
Status.Passive.ElementsEntry
| Field | Type | Label | Description |
| key | uint32 |
|
|
| value | Status.Passive.OptionalElement |
|
Status.Passive.OptionalElement
OptionalElement is an optional element
| Field | Type | Label | Description |
| element | Status.Passive.Element | optional |
element |
Status.GPS
GPS has either a fix with location or no_fix
| Field | Type | Label | Description |
| no_fix | bool |
set if there is no GPS fix |
|
| location | Location |
set to the location if there is GPS reception |
Status.BatteryData
Status of a battery
| Field | Type | Label | Description |
| level | uint32 | optional |
power level |
| remaining | google.protobuf.Duration | optional |
time until full if charging, time until empty if discharging |
| state | BatteryState | optional |
charging state of the battery |
Status.BatterySlot
A BatterySlot is either empty or has a battery (with its values)
| Field | Type | Label | Description |
| empty | bool |
|
|
| battery | Status.BatteryData |
Status.Power
Status of power supply
| Field | Type | Label | Description |
| source | PowerSource | optional |
(additional) source of power |
Update
Update delivers information about an available firmware update.
| Field | Type | Label | Description |
| installed | bool |
is set if update has been downloaded and installed |
|
| others | UpdateSeverity |
type of firmware update |
|
| status | string | version of firmware update |
BatteryState
BatteryState represents the current charging state of the battery
| Name | Number | Description |
| BATTERY_STATE_UNSPECIFIED | 0 |
|
| BATTERY_STATE_DISCHARGING | 1 |
battery is currently discharging |
| BATTERY_STATE_CHARGING | 2 |
battery is currently charging |
| BATTERY_STATE_IDLE | 3 |
battery is idle (i.e. not charging or discharging) |
PowerSource
PowerSource represents the current power source.
| Name | Number | Description |
| POWER_SOURCE_UNSPECIFIED | 0 |
|
| POWER_SOURCE_NONE | 1 |
no additional power source is used |
| POWER_SOURCE_AC | 2 |
AC is used as power source. (Battery might be used additionally.) |
| POWER_SOURCE_DC | 3 |
DC is used as power source. (Battery might be used additionally.) |
| POWER_SOURCE_USBPD | 4 |
USBPD is used as power source. (Battery might be used additionally.) |
| POWER_SOURCE_POE | 5 |
POE is used as power source. (Battery might be used additionally.) |
ElementStatus
ElementStatus represents the status of a passive antenna element
| Name | Number | Description |
| ELEMENT_STATUS_UNKNOWN | 0 |
Element status is unknown |
| ELEMENT_STATUS_OK | 1 |
Element is OK |
| ELEMENT_STATUS_BAD | 2 |
Element reports bad RSSI |
| ELEMENT_STATUS_MUTE | 3 |
Element is muted |
| ELEMENT_STATUS_UNAVAILABLE | 4 |
Element is unavailable |
ActiveStatus
ActiveStatus represents the current state of an active device.
| Name | Number | Description |
| ACTIVE_STATUS_UNKNOWN | 0 |
Active status is unknown |
| ACTIVE_STATUS_INITIALIZING | 1 | Active is initializing |
| ACTIVE_STATUS_RUNNING | 2 | Active is running |
| ACTIVE_STATUS_UPDATING | 3 | |
| ACTIVE_STATUS_FAILED | 4 | Active reports an error |
UpdateSeverity
UpdateSeverity represents the severity of an firmware update.
| Name | Number | Description |
| UPDATE_SEVERITY_UNKNOWN | 0 |
|
| UPDATE_SEVERITY_NORMAL | 1 | normal update that was found automatically or by manual update check |
| UPDATE_SEVERITY_CRITICAL | 2 | critical update that was found automatically or by manual update check |
TransponderType
TransponderType represents the current type of a passive transponder.
| Name | Number | Description |
| TRANSPONDER_TYPE_UNKNOWN | 0 |
|
| TRANSPONDER_TYPE_BIB | 1 | |
| TRANSPONDER_TYPE_TRIATHLON | 2 | |
| TRANSPONDER_TYPE_HUTAG | 3 | |
| TRANSPONDER_TYPE_SHOE | 4 |
PassivePower
PassivePower represents the current power setting for passive timing.
| Name | Number | Description |
| PASSIVE_POWER_UNKNOWN | 0 |
|
| PASSIVE_POWER_MINIMUM | 1 | |
| PASSIVE_POWER_LOW | 2 | |
| PASSIVE_POWER_MEDIUM | 3 | |
| PASSIVE_POWER_AUTO | 4 | |
| PASSIVE_POWER_AUTO | 5 |