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

Function nb_trans

chirpstack/src/test/assert.rs:68–77  ·  view source on GitHub ↗
(dev_eui: EUI64, nb_trans: u32)

Source from the content-addressed store, hash-verified

66}
67
68pub fn nb_trans(dev_eui: EUI64, nb_trans: u32) -> Validator {
69 Box::new(move || {
70 let dev_eui = dev_eui;
71 Box::pin(async move {
72 let d = device::get(&dev_eui).await.unwrap();
73 let ds = d.get_device_session().unwrap();
74 assert_eq!(nb_trans, ds.nb_trans);
75 })
76 })
77}
78
79pub fn enabled_uplink_channel_indices(dev_eui: EUI64, channels: Vec<u32>) -> Validator {
80 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