Added description of special SNR values in RouteDiscovery#883
Added description of special SNR values in RouteDiscovery#883domusonline wants to merge 1 commit intomeshtastic:masterfrom
Conversation
|
@garthvh @jamesarich would a separate enum for the proposed 'magic numbers' be acceptable for app implementation? E.g.: This way we maintain the contract between firmware and API, while saving several bytes over the air. |
I'm cool with this getting defined and documented and in the firmware and protocols before the clients take this on - which is the typical flow for new features . |
Seems like kind of a hack still, can we just have a transport enum? |
| /* | ||
| * 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 |
…op types
This PR introduces a description (comments) on SNR special values that work as flags in the RouteDiscovery messages.
It was requested in the discussion for firmware issue 9013 (make MQTT and UDP hops clear in the traceroute displays)
Checklist before merging
(no changes were made)