-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Unexpected max serialisation length #4
Comments
Hi Pablo, it's a known issue for me at this moment. It's fixed on develop
branch. Please try it. I'll do the patch release soon.
…On Wed, May 27, 2020, 16:18 Pablo Casado ***@***.***> wrote:
I defined the following list
<list name="VideoBlocks">
<element>
<data name="VideoBlock" length="64"/>
</element>
<countPrefix>
<int name="VideoBlockCounter" type="uint8" />
</countPrefix>
</list>
I get the following error on compile
`error: static assertion failed: Unexpected max serialisation length
900 | static_assert(MsgMaxLen == 16352U, "Unexpected max serialisation length");`
If I remove the length property from the data field it compiles fine but I
can't use this as each VideoBlock is a fixed length (64 bytes) and I have
fields after the VideoBlocks in my protocol.
Am I specifying my schema incorrectly for this case?
many thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASJKGW7NALAKSODNL5RHKDRTSWB3ANCNFSM4NL2GVCQ>
.
|
arobenko
added a commit
that referenced
this issue
May 27, 2020
Should be fixed now on "develop" branch. |
tested and working. thanks |
Fixed in v3.4.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I defined the following list
I get the following error on compile
If I remove the length property from the data field it compiles fine but I can't use this as each VideoBlock is a fixed length (64 bytes) and I have fields after the VideoBlocks in my protocol.
Am I specifying my schema incorrectly for this case?
many thanks.
The text was updated successfully, but these errors were encountered: