-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
LwM2M: make transport agnostic #41313
Comments
@rlubos curious if you have any thoughts or further input on this. |
We have something like this in MQTT, where we implement multiple transports, and user can select which one to use when initializing client (https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/net/lib/mqtt/mqtt_transport.h) - I think we could implement something similar for LwM2M as well. Or were you rather thinking about being able to disable LwM2M thread entirely, and handle the communication on the application side? The LwM2M would then need an API to feed the data into the stack and to trigger send. |
Thanks for pointing out that feature of MQTT, I was not aware of it. I think I would like to start with an approach similar to that for LwM2M. |
Recommend reading the LWM2M transport spec |
Is your enhancement proposal related to a problem? Please describe.
Currently the LwM2M engine is tightly coupled to sending/receiving data with sockets.
There's no reason this can't be decouple to allow sending over other transports therefore removing the dependency on the networking stack.
Describe the solution you'd like
Decouple the LwM2M engine from networking and sockets.
This would allow a user to tunnel LwM2M over a BLE connection for instance.
The text was updated successfully, but these errors were encountered: