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

Method app_s_key_req

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

Source from the content-addressed store, hash-verified

184 }
185
186 pub async fn app_s_key_req(
187 &self,
188 pl: &mut AppSKeyReqPayload,
189 async_resp: Option<Receiver<Vec<u8>>>,
190 ) -> Result<AppSKeyAnsPayload> {
191 pl.base.sender_id.clone_from(&self.config.sender_id);
192 pl.base.receiver_id.clone_from(&self.config.receiver_id);
193 pl.base.message_type = MessageType::AppSKeyReq;
194
195 let mut ans: AppSKeyAnsPayload = Default::default();
196 self.request(None, &pl, &mut ans, async_resp).await?;
197 Ok(ans)
198 }
199
200 pub async fn pr_start_req(
201 &self,

Callers

nothing calls this directly

Calls 1

requestMethod · 0.80

Tested by

no test coverage detected