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

Method set_downlink_frame

chirpstack/src/downlink/join.rs:491–500  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

489 }
490
491 fn set_downlink_frame(&mut self) -> Result<()> {
492 trace!("Setting downlink frame");
493
494 let phy_b = self.join_accept.to_vec()?;
495 for i in &mut self.downlink_frame.items {
496 i.phy_payload.clone_from(&phy_b);
497 }
498
499 Ok(())
500 }
501
502 fn set_downlink_frame_relayed(&mut self) -> Result<()> {
503 trace!("Setting ForwardDownlinkReq frame");

Callers 1

_handleMethod · 0.45

Calls 1

to_vecMethod · 0.45

Tested by

no test coverage detected