-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Q&A #31
Comments
P.S. libais, which is kinda out of date, seems to be able to decode every message type. Could you use that as a guide? |
Hey there,
Regarding your question of supported messages: It supports all message types. But it can not decode message specific payloads. This should be done by the user. |
Oh this is fantastic news. Sorry I did not read carefully. Thank you so
much
…On Tue, May 25, 2021 at 10:03 AM Leon Morten Richter < ***@***.***> wrote:
Hey there,
pyais supports multi line messages. A simple example can be found here
<https://pyais.readthedocs.io/en/latest/examples/single.html>
Regarding your question of supported messages:
It supports all message types. But it can not decode message specific
payloads. This should be done by the user.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#31 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASV6NX3LMWHPV5CIWZPBPV3TPPJ7XANCNFSM45PUZ5BA>
.
|
Can you elaborate on this "But it can not decode message specific
payloads". Perhaps give an example of where the specific payload is not
decoded
On Tue, May 25, 2021 at 1:13 PM Bruce Bookman ***@***.***>
wrote:
… Oh this is fantastic news. Sorry I did not read carefully. Thank you so
much
On Tue, May 25, 2021 at 10:03 AM Leon Morten Richter <
***@***.***> wrote:
> Hey there,
>
> pyais supports multi line messages. A simple example can be found here
> <https://pyais.readthedocs.io/en/latest/examples/single.html>
>
> Regarding your question of supported messages:
>
> It supports all message types. But it can not decode message specific
> payloads. This should be done by the user.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#31 (comment)>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ASV6NX3LMWHPV5CIWZPBPV3TPPJ7XANCNFSM45PUZ5BA>
> .
>
|
This applies to messages of type 6, 8, 25, and 26. These messages have in common, that they contain unspecified binary payload.
The decoding of the binary payload is message dependent and varies between different systems. If we want to decode the binary payload of message type 6, we firstly would have to look at the There are a lot of different application-specific messages, which are more or less standardized. Therefore |
Thank you for the clarification. I'd recommend adding that detail to the
readme. And thanks for the great library!
…On Fri, May 28, 2021 at 3:59 AM Leon Morten Richter < ***@***.***> wrote:
This applies to messages of type 6, 8, 25, and 26. These messages have in
common, that they contain unspecified binary payload.
- Message type 6: data field with up to 920 bits of binary payload
- Message type 8: data field with up to 952 bits of binary payload
- Message type 26: data field with up to 128 bits of binary payload
- Message type 27: data fiield with up to 1004 bits of binary payload
The decoding of the binary payload is message dependent and varies between
different systems. If we want to decode the binary payload of message type
6, we firstly would have to look at the dac (Designated Area Code) and
the fid (Functional ID). Dependening of their values, we would know, how
to interpret the payload.
There are a lot of different application-specific messages, which are more
or less standardized. Therefore pyais does not even try to decode the
payload. Instead, you can access the raw payload as a bit-string or a
bitarray.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#31 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASV6NX6RJSBQNXURANCNOELTP5ZPTANCNFSM45PUZ5BA>
.
|
You are totally right. I will do this as soon as I can. I'll keep this issue open until then as a reminder for myself. |
Closed with #35. |
chore: Black code formatting
Single Messages
"Supports single messages": Can someone recommend a library that decodes multi-line messages. Or is there a work around that can leverage pyais?
I have code that can collate the message parts and put them all together in any manner a library might require. All I need is one that then can decode.
Message types
"Currently, this module is able to decode most message types. There are only a few exceptions. "
Which specific messages are not decoded? I have a close to production need to decode everything. Any plan to add the messages types that are currently not decoded?
The text was updated successfully, but these errors were encountered: