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

examples/client: Fix access control object read #427

Conversation

leandrolanzieri
Copy link

Description

In the Access Control object implementation of the Client example when the prv_set_tlv function is called the data is encoded into the data pointer using the helping function for encoding instances. The amount of instances being encoded was hardcoded and didn't work if a different number of items were present in the access control list. This fixes this.

Test procedure

Run the example before and after applying this PR with a number different to 2 in the access control list.

@dnav
Copy link
Contributor

dnav commented Feb 19, 2019

Hi,

Thanks for this.

For being able to merge your PR you need to sign the Eclipse CLA and sign your commits with the same email address. See: https://wiki.eclipse.org/Development_Resources/Contributing_via_Git#Eclipse_Foundation_Contributor_License_Agreement

Regards,

@leandrolanzieri leandrolanzieri force-pushed the pr/examples/client-fix_acc_ctrl_read branch from 5fb27bf to 775274b Compare February 20, 2019 08:03
@leandrolanzieri
Copy link
Author

@dnav done

@leandrolanzieri
Copy link
Author

Any plans on applying this fix?

@sbertin-telular
Copy link
Contributor

This was fixed by b1f181d. I think we can close.

@sbernard31 sbernard31 closed this Dec 2, 2020
@leandrolanzieri leandrolanzieri deleted the pr/examples/client-fix_acc_ctrl_read branch December 2, 2020 14:47
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

Successfully merging this pull request may close these issues.

4 participants