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

Error when building a combined server + bootstrap server #599

Closed
mlasch opened this issue Apr 28, 2021 · 1 comment
Closed

Error when building a combined server + bootstrap server #599

mlasch opened this issue Apr 28, 2021 · 1 comment

Comments

@mlasch
Copy link
Contributor

mlasch commented Apr 28, 2021

There is an issue when compiling with both flags LWM2M_SERVER_MODE and LWM2M_BOOTSTRAP_SERVER_MODE. lwm2m_client_t will be defined twice then in struct _lwm2m_context_ resulting in a compile error.

https://github.com/eclipse/wakaama/blob/4a8aa2b3ba6a4f0b86e91039a330056f2ca2074c/include/liblwm2m.h#L783-L790

Acceptance criteria

  • It should be possible to build a server with both LWM2M_SERVER_MODE and LWM2M_BOOTSTRAP_SERVER_MODE enabled.
mlasch added a commit to mlasch/wakaama that referenced this issue Apr 28, 2021
mlasch added a commit to mlasch/wakaama that referenced this issue Apr 28, 2021
LWM2M_SERVER_MODE and LWM2M_BOOTSTRAP_SERVER_MODE flags can be used
again in the same server instance.
mlasch added a commit to mlasch/wakaama that referenced this issue Apr 29, 2021
LWM2M_SERVER_MODE and LWM2M_BOOTSTRAP_SERVER_MODE flags can be used
in the same server instance again.
mlasch added a commit to mlasch/wakaama that referenced this issue Apr 29, 2021
LWM2M_SERVER_MODE and LWM2M_BOOTSTRAP_SERVER_MODE flags can be used
in the same server instance again.

Signed-off-by: Marc Lasch <marc.lasch@husqvarnagroup.com>
mlasch added a commit that referenced this issue Apr 29, 2021
LWM2M_SERVER_MODE and LWM2M_BOOTSTRAP_SERVER_MODE flags can be used
in the same server instance again.

Signed-off-by: Marc Lasch <marc.lasch@husqvarnagroup.com>
@mlasch
Copy link
Contributor Author

mlasch commented Apr 29, 2021

PR #600 merged

@mlasch mlasch closed this as completed Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant