-
Notifications
You must be signed in to change notification settings - Fork 374
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
Build Fails if LWM2M_RAW_BLOCK1_REQUESTS set #773
Comments
@mmb-davidsmith Thank you for your participation. |
Addresses the compile issues referenced in eclipse-wakaama#773 when using the `LWM2M_RAW_BLOCK1_REQUESTS` compile flag by: - removing unused variables - specifying the missing const keyword. In addition, to help validate that this doesn't happen in the future, this commit adds an additional configuration option to the client example which enables the `LWM2M_RAW_BLOCK1_REQUESTS` option. This allows for a basic test that compilation succeeds. It does not go further in attempting to add unit tests for this compile option. Signed-off-by: David Smith <[email protected]>
Sorry for the delay on a contribution, I was on holiday but now that I'm back I'll be submitting shortly. |
@LukasWoodtli - I've submitted PR #777, which gets this building again. It needs approval for the workflows to run. |
Addresses the compile issues referenced in #773 when using the `LWM2M_RAW_BLOCK1_REQUESTS` compile flag by: - removing unused variables - specifying the missing const keyword. In addition, to help validate that this doesn't happen in the future, this commit adds an additional configuration option to the client example which enables the `LWM2M_RAW_BLOCK1_REQUESTS` option. This allows for a basic test that compilation succeeds. It does not go further in attempting to add unit tests for this compile option. Signed-off-by: David Smith <[email protected]>
Fixed with the pushed commit. |
I'm looking at using Wakaama in a firmware project and was trying to get the various knobs set to enable me to build for a low ram environment. In the documentation, it says that the
LWM2M_RAW_BLOCK1_REQUESTS
is intended for this sort of situation and configures the system to pass through each individual packet to the application rather than assembling the data.When I enable this option and try to run my copy of the
lightclient
I run into the following compile errors:Quickly commenting these out since they're not used in the function, the following errors is raised:
This is due to a missing
const
keyword on theuint8_t * buffer
. Once that is changed, I'm able to compile but the samples don't handle the full block transfer and would need some updates to complete a transfer.I'm just working on the internal processes to get a Contribution signed off to address this and should be able to contribute back.
The text was updated successfully, but these errors were encountered: