api: Add duty-cycle stats messages + types.

This commit is contained in:
Orne Brocaar
2024-04-03 09:52:00 +01:00
parent 2bb05fba58
commit ac9923e120
8 changed files with 991 additions and 647 deletions

1
api/rust/src/gw.rs vendored
View File

@ -67,6 +67,7 @@ impl Into<String> for TxAckStatus {
TxAckStatus::GpsUnlocked => "GPS_UNLOCKED",
TxAckStatus::QueueFull => "QUEUE_FULL",
TxAckStatus::InternalError => "INTERNAL_ERROR",
TxAckStatus::DutyCycleOverflow => "DUTY_CYCLE_OVERFLOW",
}
.to_string()
}