mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-15 13:58:27 +00:00
Update gw proto & refactor Mesh Heartbeat event.
This refactors the gateway protobuf payloads, such that the Concentratord can publish an Event message, containing one of the possible events published by the Concentratord (uplink, stats or mesh event). It also combines the possible Concentratord commands into a single Command message. This simplifies the ZMQ interface as it is no longer needed to match the payload type by string. This also refactors the MeshHeartbeat message into a Mesh message, which can contain multiple events, of which the Heartbeat is one of the possible events. The future goal is to make it possible to send different types of events from the Gateway Mesh Relay gateways (e.g. battery status, ...) and to make it possible to also send proprietary event types.
This commit is contained in:
9
api/rust/src/lib.rs
vendored
9
api/rust/src/lib.rs
vendored
@ -1,14 +1,17 @@
|
||||
pub use prost;
|
||||
pub use prost_types;
|
||||
|
||||
#[cfg(feature = "json")]
|
||||
pub use pbjson_types;
|
||||
pub use prost;
|
||||
#[cfg(feature = "api")]
|
||||
pub use tonic;
|
||||
|
||||
#[cfg(feature = "api")]
|
||||
pub mod api;
|
||||
#[cfg(feature = "internal")]
|
||||
pub mod internal;
|
||||
|
||||
pub mod common;
|
||||
pub mod gw;
|
||||
pub mod integration;
|
||||
#[cfg(feature = "internal")]
|
||||
pub mod internal;
|
||||
pub mod stream;
|
||||
|
Reference in New Issue
Block a user