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

Method get_join_request_payload

chirpstack/src/uplink/join.rs:195–206  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

193 }
194
195 fn get_join_request_payload(&mut self) -> Result<()> {
196 trace!("Getting JoinRequestPayload");
197
198 self.join_request = Some(match self.uplink_frame_set.phy_payload.payload {
199 Payload::JoinRequest(pl) => pl,
200 _ => {
201 return Err(anyhow!("PhyPayload does not contain JoinRequest payload"));
202 }
203 });
204
205 Ok(())
206 }
207
208 fn get_join_request_payload_relayed(&mut self) -> Result<()> {
209 trace!("Getting JoinRequestPayload from relayed");

Callers 1

_handleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected