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

what is the meaning of the second argument? #6

Open
planewave opened this issue Sep 8, 2022 · 0 comments
Open

what is the meaning of the second argument? #6

planewave opened this issue Sep 8, 2022 · 0 comments

Comments

@planewave
Copy link

in the demo

crcb.search([[165,  16,  2,  7,  85,  163,  209,  114,  21,  131,  143,  144,  52,  187,  183,  142,  180,  39,  169,  76],
            [165,  16,  2,  7,  140,  39,  242,  202,  181,  209,  220,  248,  156,  112,  66,  128,  236,  187,  35,  176],
            [165,  16,  2,  7,  113,  105,  30,  118,  164,  96,  43,  198,  84,  170,  123,  76,  107,  225,  133,  194]],
            
           [[253,  14],
            [90,  38],
            [248,  236]]
)

I know the first three lines are the sample msg, but what is the meaning of these arrays?

           [[253,  14],
            [90,  38],
            [248,  236]]

and where can I define the CRC length?
for example, with CRC RevEng, I can type something like

./reveng -w 16 -s 282FAC4DD9 2B6BACD581 2F2AAC37BC AF2EACC022

to search for the CRC-16

thanks in advance

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

1 participant