You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sentences with tag blocks are not supported at the moment and unfortunately not even recognized as valid sentences. This would require changes both in validation and parsing of data. Once parsed, the tags could be delivered in SentenceEvent along with the actual sentence. I'll look into this and see how it could work, but cannot promise a schedule for it.
However, as a small relief, I've been working on exposing the data reader base class which would at least allow you to strip the tags and get the actual sentences passed through. This change will be published soon and maybe bypassing the tags could be added as a default behaviour until the parsing is done.
thankyou for your answer..
for now i just parsing the sentence to get the !AIVDM AIS format..
can i ask u something.. what is the best way to make data stream via websocket with this api..
Thankyou
The websockets are not supported directly either but try extending the AbstractDataReader, which is now public, to implement a client that works similarly to the UDP reader, e.g. by buffering the socket messages in a queue and returning the head with each call to read() method.
this is the example of the message that i get :
\g:1-2-73874,n:157036,s:r003669945,c:12415440354A!AIVDM,1,1,,B,15N4cJ
005Jrek0H@9n
DW5608EP,013This is the example doc
The text was updated successfully, but these errors were encountered: