Files
ham/protocol/aprs/weather.go
maze 63040a44b3
Some checks failed
Run tests / test (1.25) (push) Failing after 1m37s
Run tests / test (stable) (push) Failing after 1m37s
protocol/aprs: refactored
2026-03-02 22:28:17 +01:00

13 lines
193 B
Go

package aprs
type weatherDecoder struct{}
func (weatherDecoder) CanDecode(frame Frame) bool {
switch frame.Raw.Type() {
case '!', '#', '$', '*':
return true
default:
return false
}
}