Skip to content
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

Category 21 edition/version 2.1 #199

Open
rdoradoindra opened this issue Feb 23, 2022 · 1 comment
Open

Category 21 edition/version 2.1 #199

rdoradoindra opened this issue Feb 23, 2022 · 1 comment

Comments

@rdoradoindra
Copy link

Hello,

I have ASTERIX data of category 21 edition 2.1.
I would like to know how decode a specify edition, in this case 2.1. (If is possible).

#Cat 21 edition 2.1
hexstr = '150063f71b7b6bd3a70414470101000d4c011f718bff83c90fb8c556ffc1e49339ceb82a9ce82a9cb817c831f315b0120fb405c840000007f393182a9cf25161b6dc26a003c5c80010b301f7c359400c007e0c0004000e04044c7e0c07c40858'

Asterix_pkt = bytearray.fromhex(hexstr)

Many thanks

@marius190
Copy link

Hi,

You can use asterix.parse() I think. See this post:

#195

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants