]> code.octet-stream.net Git - m17rt/blobdiff - tools/m17rt-netclient/src/main.rs
Document reflector destination call
[m17rt] / tools / m17rt-netclient / src / main.rs
index 3204b5bbb0941b492ee0eacb27ffdbc3f0b2c25d..5fee7d6ed5275296b66a4c3f02216cdc7c5b0e7a 100644 (file)
@@ -72,6 +72,10 @@ fn main() {
     let input = args.get_one::<String>("input");
     let output = args.get_one::<String>("output");
 
     let input = args.get_one::<String>("input");
     let output = args.get_one::<String>("output");
 
+    // It is current convention that mrefd requires the destination of transmissions to match the reflector.
+    // If you are connected to "M17-XXX" on module B then you must set the dst to "M17-XXX B".
+    // This requirement is likely to change but for the purposes of this test client we'll hard-code the
+    // behaviour for the time being.
     let ref_with_mod = format!("{} {}", reflector, module);
     let Ok(reflector) = M17Address::from_callsign(&ref_with_mod) else {
         println!(
     let ref_with_mod = format!("{} {}", reflector, module);
     let Ok(reflector) = M17Address::from_callsign(&ref_with_mod) else {
         println!(