-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Kconfig: Expose pkg/wakaama configurations #12974
Kconfig: Expose pkg/wakaama configurations #12974
Conversation
0564885
to
dee81f1
Compare
dee81f1
to
28a7b98
Compare
Rebased to master, this has no dependencies now. |
28a7b98
to
1f299a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First round of comments, also please rebase @leandrolanzieri. I'll test asap.
1f299a5
to
3e4dfce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think documenation wise it would be good to add an a mention to the fact that this can all be set through kconfig
/ make menuconfig
I added some improvements to the |
@leandrolanzieri looks good now, please squash! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK!, please trigger the CI once squashed!
Macros that changed: LWM2M_STANDARD_PORT -> CONFIG_LWM2M_STANDARD_PORT LWM2M_DTLS_PORT -> CONFIG_LWM2M_DTLS_PORT LWM2M_BSSERVER_PORT -> CONFIG_LWM2M_BSSERVER_PORT LWM2M_LOCAL_PORT -> CONFIG_LWM2M_LOCAL_PORT LWM2M_DEVICE_NAME -> CONFIG_LWM2M_DEVICE_NAME LWM2M_DEVICE_TTL -> CONFIG_LWM2M_DEVICE_TTL LWM2M_SERVER_URI -> CONFIG_LWM2M_SERVER_URI LWM2M_SERVER_ID -> CONFIG_LWM2M_SERVER_ID LWM2M_ALT_PATH -> CONFIG_LWM2M_ALT_PATH LWM2M_BOOTSTRAP -> CONFIG_LWM2M_BOOTSTRAP LWM2M_DEVICE_MANUFACTURER -> CONFIG_LWM2M_DEVICE_MANUFACTURER LWM2M_DEVICE_MODEL -> CONFIG_LWM2M_DEVICE_MODEL LWM2M_DEVICE_SERIAL -> CONFIG_LWM2M_DEVICE_SERIAL LWM2M_DEVICE_FW_VERSION -> CONFIG_LWM2M_DEVICE_FW_VERSION LWM2M_DEVICE_BINDINGS -> CONFIG_LWM2M_DEVICE_BINDINGS LWM2M_DEVICE_TYPE -> CONFIG_LWM2M_DEVICE_TYPE LWM2M_DEVICE_HW_VERSION -> CONFIG_LWM2M_DEVICE_HW_VERSION LWM2M_DEVICE_SW_VERSION -> CONFIG_LWM2M_DEVICE_SW_VERSION LWM2M_WITH_LOGS -> CONFIG_LWM2M_WITH_LOGS
As the only implementation available in RIOT of LwM2M is the client, it makes no sense to set this flag in every application.
a770ac3
to
ca17f0a
Compare
GO! |
Contribution description
This PR moves the LwM2M Wakaama client configuration macros to the
CONFIG_
namespace and exposes them to Kconfig.Testing procedure
make menuconfig
. Test e.g. changing the server URI and device name, enabling the package logs, and enabling the usage of a bootstrap server.Issues/PRs references
Part of #12888
Depends on #12913