Open arnegue opened 5 months ago
NMEADatagram (not NMEADevice) have own-class NMEA-Parsing (see parse_nmea_sentence) SeatalkDevice (not SeatalkDatagram) has a method (parse_datagram).
NMEADatagram
NMEADevice
parse_nmea_sentence
SeatalkDevice
SeatalkDatagram
parse_datagram
Same with a map about IDs (SeatalkDevice: _seatalk_datagram_map, NMEADatagram: nmea_tag_datagram_map). Maybe put that into Device-Base-Class?
_seatalk_datagram_map
nmea_tag_datagram_map
Device
NMEADatagram
(notNMEADevice
) have own-class NMEA-Parsing (seeparse_nmea_sentence
)SeatalkDevice
(notSeatalkDatagram
) has a method (parse_datagram
).Same with a map about IDs (
SeatalkDevice
:_seatalk_datagram_map
,NMEADatagram
:nmea_tag_datagram_map
). Maybe put that intoDevice
-Base-Class?