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

Method ack_event

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

Source from the content-addressed store, hash-verified

47 }
48
49 async fn ack_event(
50 &self,
51 _vars: &HashMap<String, String>,
52 pl: &integration::AckEvent,
53 ) -> Result<()> {
54 let dev_info = pl
55 .device_info
56 .as_ref()
57 .ok_or_else(|| anyhow!("device_info is None"))?;
58 let b = pl.encode_to_vec();
59 stream::event::log_event_for_device("ack", &dev_info.dev_eui, &b).await
60 }
61
62 async fn txack_event(
63 &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