arnegue / NMEA-Seatalk-Multiplexer

Multiplexer for NMEA and Seatalk-Devices (via Serial, TCP, File...)
1 stars 0 forks source link

Unify NMEA- and Seatalk-Datagram-Parsing #7

Open arnegue opened 5 months ago

arnegue commented 5 months ago

NMEADatagram (not NMEADevice) have own-class NMEA-Parsing (see parse_nmea_sentence) SeatalkDevice (not SeatalkDatagram) has a method (parse_datagram).

Same with a map about IDs (SeatalkDevice: _seatalk_datagram_map, NMEADatagram: nmea_tag_datagram_map). Maybe put that into Device-Base-Class?