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

Function _handle_home_ns_req

chirpstack/src/api/backend/mod.rs:591–600  ·  view source on GitHub ↗
(pl: backend::HomeNSReqPayload)

Source from the content-addressed store, hash-verified

589}
590
591async fn _handle_home_ns_req(pl: backend::HomeNSReqPayload) -> Result<backend::HomeNSAnsPayload> {
592 let conf = config::get();
593
594 Ok(backend::HomeNSAnsPayload {
595 base: pl
596 .base
597 .to_base_payload_result(backend::ResultCode::Success, ""),
598 h_net_id: conf.network.net_id.to_vec(),
599 })
600}
601
602async fn handle_async_ans(bp: &BasePayload, b: &[u8]) -> Result<Response> {
603 let transaction_id = bp.transaction_id;

Callers 1

handle_home_ns_reqFunction · 0.85

Calls 3

getFunction · 0.50
to_vecMethod · 0.45

Tested by

no test coverage detected