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

Method send_downlink_frame

chirpstack/src/downlink/data.rs:1047–1056  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1045 }
1046
1047 async fn send_downlink_frame(&self) -> Result<()> {
1048 trace!("Sending downlink frame");
1049 let ds = self.device.get_device_session()?;
1050
1051 gateway::backend::send_downlink(&ds.region_config_id, &self.downlink_frame)
1052 .await
1053 .context("Send downlink frame")?;
1054
1055 Ok(())
1056 }
1057
1058 fn check_for_first_uplink(&self) -> Result<(), Error> {
1059 trace!("Checking if device has sent its first uplink already");

Callers 3

_handle_responseMethod · 0.45

Calls 2

send_downlinkFunction · 0.85
get_device_sessionMethod · 0.80

Tested by

no test coverage detected