Coding my own app to receive the data (with the A021)

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #13726
    Quark Elec
    Keymaster

      Any programmers out here?

      I understand that the A021 communicates by NMEA-0183 (https://en.wikipedia.org/wiki/NMEA_0183) over serial port, and see that the driver has created a virtual COM4.

      Other than “open COM4 and start reading, decoding as per the protocol”, is there any advice? Any existing code libraries that I can use to avoid reinventing the wheel?

      I intend to read the data, push to a server database and code a browser front end (maybe even a Flutter app) to display info.

      Also, the driver is for Windows only. Did anyone find a similar virtual serial port driver for Linux and attach the device to a Raspberry Pi?

      #14916
      Anonymous

        Hi We haven’t check it with Raspberry Pi, but some other customers maybe have something to share with you?

        We know a few customers have get it work.

        #14917
        Quark Elec
        Keymaster

          Thanks for the reply, seems like “open COM4 and start reading, decoding as per the protocol” is the way to go.

          anyone interested in this, take a look at “Capturing AIS NMEA messages from Quark Elec QK A021 AIS Receiver USB dongle” https://github.com/freerange/ais-on-sdr/wiki/Capturing-AIS-NMEA-messages-from-Quark-Elec-QK-A021-AIS-Receiver-USB-dongle

          And verify your decoding against this online decoder https://www.aggsoft.com/ais-decoder.htm

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.