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

Method increment_a_f_cnt_down

chirpstack/src/downlink/tx_ack.rs:368–376  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

366 }
367
368 fn increment_a_f_cnt_down(&mut self) -> Result<()> {
369 trace!("Incrementing a_f_cnt_down");
370
371 let d = self.device.as_mut().unwrap();
372 let ds = d.get_device_session_mut()?;
373 ds.set_a_f_cnt_down(self.downlink_frame.as_ref().unwrap().a_f_cnt_down + 1);
374
375 Ok(())
376 }
377
378 fn increment_a_f_cnt_down_relayed(&mut self) -> Result<()> {
379 trace!("Incrementing relayed a_f_cnt_down");

Callers 2

_handleMethod · 0.80
_handle_relayedMethod · 0.80

Calls 4

unwrapMethod · 0.80
set_a_f_cnt_downMethod · 0.80
as_refMethod · 0.80

Tested by

no test coverage detected