protocol/aprs: extract position and symbol to frame
This commit is contained in:
@@ -100,6 +100,11 @@ func (d positionDecoder) Decode(frame *Frame) (data Data, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
frame.Latitude = pos.Latitude
|
||||
frame.Longitude = pos.Longitude
|
||||
frame.Altitude = pos.Altitude
|
||||
frame.Symbol = pos.Symbol
|
||||
|
||||
return pos, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user