module_to_talkgroup

Function module_to_talkgroup 

Source
fn module_to_talkgroup(module: Option<&str>) -> String
Expand description

Returns the Rdio Scanner talkgroup id for a D-STAR module letter.

A1, B2, …, Z26. Any other input (including None, empty strings, lowercase letters, multi-byte strings) falls back to "0" so the upload still goes through with a sentinel value the server can filter on.