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

Function get_uplink_ch

chirpstack/src/uplink/helpers.rs:51–54  ·  view source on GitHub ↗
(region_config_id: &str, frequency: u32, dr: u8)

Source from the content-addressed store, hash-verified

49}
50
51pub fn get_uplink_ch(region_config_id: &str, frequency: u32, dr: u8) -> Result<usize> {
52 let region_conf = region::get(region_config_id)?;
53 region_conf.get_uplink_channel_index_for_freq_dr(frequency, dr)
54}
55
56pub fn get_rx_timestamp(rx_info: &[gw::UplinkRxInfo]) -> SystemTime {
57 let conf = config::get();

Callers 5

_handle_xmit_data_reqFunction · 0.85
handle_uplinkFunction · 0.85

Calls 2

getFunction · 0.50

Tested by

no test coverage detected