Comments (6)
Can you give an example of a failing multipart message? I tried it with these two and it seems ok:
`
!AIVDM,2,1,6,B,53Jmvl82Bw3CTP7??K5<D5<lThF222222222221:I0oK;4e20L3FH42i,0*5C
!AIVDM,2,2,6,B,p88888888888880,2*69
`
from go-ais.
Hello, message type 5 doesn't seem to be parsing.
message: !AIVDM,2,1,6,B,53Jmvl82Bw3CTP7??K5<D5<lThF222222222221:I0oK;4e20L3FH42i,0*5C
from go-ais.
from go-ais.
Hello, Do you feed the second part of the message also? Otherwise it cannot be decoded. Sincerely, Bertold Op wo 21 jul. 2021 06:03 schreef 苏俊波 @.**>:
…
[image: image] https://user-images.githubusercontent.com/37428938/126428855-5fc48254-0356-4c00-b663-b34f80887b93.png Hello, message type 5 doesn't seem to be parsing. message: !AIVDM,2,1,6,B,53Jmvl82Bw3CTP7??K5<D5<lThF222222222221:I0oK;4e20L3FH42i,05C — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#7 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQILGMFHLY67XDJMLSFQYDTYZBHNANCNFSM4Y2QEI5Q .
Do you know this website? https://www.maritec.co.za/tools/aisvdmvdodecoding
The decoder can't parse the message and put it on the above url. What is the reason for this?
from go-ais.
from go-ais.
您好,您的消息是多部分消息,从 AIVDM 标头中可以看出: !AIVDM,2,1,6,B,... 这意味着它是消息 1 从 2 总数(序列号为 6)。似乎 maritec 解码器可以处理截断的消息。这个图书馆不这样做。只需输入第二部分,当您输入所有部分时,您应该会收到完整的解码消息。如果您没有第二部分,这里有一个适用于您可以用于测试的消息: !AIVDM,2,2,6,B,888888888888880,221 您可以使用以下示例来解码您的消息:``` package main import ( "fmt" "github.com/BertoldVdb/go-ais" "github.com/BertoldVdb/go-ais/aisnmea" ) func main() { nm := aisnmea.NMEACodecNew(ais .CodecNew(false, false)) 解码,_ := nm.ParseSentence("!AIVDM,2,1,6,B,
…
On Thu, Jul 22, 2021 at 8:04 AM 苏俊波 @.> wrote: Hello, Do you feed the second part of the message also? Otherwise it cannot be decoded. Sincerely, Bertold Op wo 21 jul. 2021 06:03 schreef 苏俊波 @. >: … <#m_3321456165003469706_> [image: image] https://user-images.githubusercontent.com/37428938/126428855-5fc48254-0356-4c00-b663-b34f80887b93.png https://user-images.githubusercontent.com/37428938/126428855-5fc48254-0356-4c00-b663-b34f80887b93.png Hello, message type 5 doesn't seem to be parsing. message: !AIVDM,2,1,6,B,53Jmvl82Bw3CTP7??K5<D5<lThF222222222221:I0oK;4e20L3FH42i,05C — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#7 (comment) <#7 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQILGMFHLY67XDJMLSFQYDTYZBHNANCNFSM4Y2QEI5Q . Do you know this website? https://www.maritec.co.za/tools/aisvdmvdodecoding The decoder can't parse the message and put it on the above url. What is the reason for this? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#7 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQILGPCJISW4Z4NYHAT4ATTY6YINANCNFSM4Y2QEI5Q .
Thanks for your reply, it helped me a lot
from go-ais.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-ais.