Comment on SNR special values in RouteDiscovery to signal different hop types

This commit is contained in:
Fernando Nunes 2026-04-02 12:43:25 +01:00
parent cb1f89372a
commit 152abbfed0

View file

@ -975,6 +975,10 @@ message RouteDiscovery {
/*
* The list of SNRs (in dB, scaled by 4) in the route towards the destination.
* Special values (ouside normal SNR range) are used as flags:
* -128 : Unknonw SNR
* -127 : MQTT hop
* 127 : UDP hop
*/
repeated int32 snr_towards = 2;
@ -985,6 +989,10 @@ message RouteDiscovery {
/*
* The list of SNRs (in dB, scaled by 4) in the route back from the destination.
* Special values (ouside normal SNR range) are used as flags:
* -128 : Unknonw SNR
* -127 : MQTT hop
* 127 : UDP hop
*/
repeated int32 snr_back = 4;
}