MCPcopy Create free account
hub / github.com/chirpstack/chirpstack / status_event

Method status_event

chirpstack/src/integration/redis.rs:88–99  ·  view source on GitHub ↗
(
        &self,
        _vars: &HashMap<String, String>,
        pl: &integration::StatusEvent,
    )

Source from the content-addressed store, hash-verified

86 }
87
88 async fn status_event(
89 &self,
90 _vars: &HashMap<String, String>,
91 pl: &integration::StatusEvent,
92 ) -> Result<()> {
93 let dev_info = pl
94 .device_info
95 .as_ref()
96 .ok_or_else(|| anyhow!("device_info is None"))?;
97 let b = pl.encode_to_vec();
98 stream::event::log_event_for_device("status", &dev_info.dev_eui, &b).await
99 }
100
101 async fn location_event(
102 &self,

Callers 1

test_redisFunction · 0.45

Calls 2

log_event_for_deviceFunction · 0.85
as_refMethod · 0.80

Tested by 1

test_redisFunction · 0.36