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

Function is_enabled

chirpstack/src/backend/roaming.rs:176–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

174}
175
176pub fn is_enabled() -> bool {
177 let conf = config::get();
178 conf.roaming.default.enabled || !conf.roaming.servers.is_empty()
179}
180
181pub fn is_roaming_dev_addr(dev_addr: DevAddr) -> bool {
182 let conf = config::get();

Callers 2

is_roaming_dev_addrFunction · 0.85

Calls 1

getFunction · 0.70

Tested by

no test coverage detected