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

Implemented client side send operation #717

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

parmi93
Copy link
Contributor

@parmi93 parmi93 commented Jun 16, 2023

Implemented send operation for client side, send operation was introduced with the LwM2M 1.1 standard.
This PR is based on work from @sbertin-telular, specifically on send branch:
https://github.com/sbertin-telular/wakaama/tree/send

In this PR a bug that caused a memory leak has been fixed:
sbertin-telular#1

Copy link
Contributor

@LukasWoodtli LukasWoodtli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the work. But I had some problems while trying it out

core/objects.c Outdated Show resolved Hide resolved
examples/client/lwm2mclient.c Outdated Show resolved Hide resolved
examples/client/lwm2mclient.c Outdated Show resolved Hide resolved
examples/client/lwm2mclient.c Outdated Show resolved Hide resolved
core/observe.c Outdated Show resolved Hide resolved
@LukasWoodtli
Copy link
Contributor

The code looks good to me now. Thanks for your effort!

Two improvements you could do for your commit:

  • Squash your commits into one commit, as it is one change that should be merged into the repo
  • Use imperative mood for the commit messages subject line

@parmi93 parmi93 force-pushed the client_send_operation branch 2 times, most recently from 6b8fe2d to 77c25db Compare July 26, 2023 11:53
@parmi93
Copy link
Contributor Author

parmi93 commented Jul 26, 2023

Commits squashed and commit message subject line changed.

@parmi93
Copy link
Contributor Author

parmi93 commented Aug 15, 2023

Code formatted with clang-format.

Implemented send operation for client side, send operation was
introduced with the LwM2M 1.1 standard.
This PR is based on work from @sbertin-telular, specifically on
send branch: https://github.com/sbertin-telular/wakaama/tree/send
In this PR a bug that caused a memory leak has been fixed:
sbertin-telular#1
@parmi93
Copy link
Contributor Author

parmi93 commented Aug 16, 2023

Code formatted with git clang-format-14

@mlasch
Copy link
Contributor

mlasch commented Sep 1, 2023

Sorry for the delay. I did a quick smoke test and it works.

@mlasch mlasch merged commit 54249b5 into eclipse-wakaama:master Sep 1, 2023
30 checks passed
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.

3 participants