Module gnss

Module gnss 

Source
Expand description

gnss: report the receiver’s state, switch it on or off, and set the policy for what is done with a fix (PROP_GNSS_*).

The switch is persisted device-domain state, so a receiver left on comes back on. Off means the lowest power state the board can reach — on most of them the receiver is the largest continuous load there is.

Enums§

GnssOp
ToggleOp

Functions§

format_location 🔒
Render the encoded location as hex, which is what it is: a grid code, not a coordinate pair. The cell size travels with it so the degrees on the next line are read as the cell they name.
format_position 🔒
The cell center in degrees. NodeLocation’s own rendering already matches its decimal places to the encoded precision, so the digits stop where the grid code stops saying anything.
precision_cell 🔒
The approximate cell size one precision names, at the equator. What makes a precision meaningful to an operator is how big an area it discloses, and nothing else on the wire says.
report 🔒
run