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

Function a_f_cnt_down

chirpstack/src/test/assert.rs:46–55  ·  view source on GitHub ↗
(dev_eui: EUI64, f_cnt: u32)

Source from the content-addressed store, hash-verified

44}
45
46pub fn a_f_cnt_down(dev_eui: EUI64, f_cnt: u32) -> Validator {
47 Box::new(move || {
48 let dev_eui = dev_eui;
49 Box::pin(async move {
50 let d = device::get(&dev_eui).await.unwrap();
51 let ds = d.get_device_session().unwrap();
52 assert_eq!(f_cnt, ds.a_f_cnt_down);
53 })
54 })
55}
56
57pub fn tx_power_index(dev_eui: EUI64, tx_power: u32) -> Validator {
58 Box::new(move || {

Callers

nothing calls this directly

Calls 3

unwrapMethod · 0.80
get_device_sessionMethod · 0.80
getFunction · 0.50

Tested by

no test coverage detected