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

Method rejoin_req

backend/src/lib.rs:172–184  ·  view source on GitHub ↗
(
        &self,
        pl: &mut RejoinReqPayload,
        async_resp: Option<Receiver<Vec<u8>>>,
    )

Source from the content-addressed store, hash-verified

170 }
171
172 pub async fn rejoin_req(
173 &self,
174 pl: &mut RejoinReqPayload,
175 async_resp: Option<Receiver<Vec<u8>>>,
176 ) -> Result<RejoinAnsPayload> {
177 pl.base.sender_id.clone_from(&self.config.sender_id);
178 pl.base.receiver_id.clone_from(&self.config.receiver_id);
179 pl.base.message_type = MessageType::RejoinReq;
180
181 let mut ans: RejoinAnsPayload = Default::default();
182 self.request(None, &pl, &mut ans, async_resp).await?;
183 Ok(ans)
184 }
185
186 pub async fn app_s_key_req(
187 &self,

Callers

nothing calls this directly

Calls 1

requestMethod · 0.80

Tested by

no test coverage detected