-
Notifications
You must be signed in to change notification settings - Fork 409
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
Support for MQTT instead of COAP in LWM2M 1.1 (as we don't have LWM2M 1.2) #1236
Comments
Hi Marcin,
as I wrote in the Californium issue #1974, I think, mixing the protocols requires a lot of know how in both.
Not sure, if leshan offers an alternative way, we will see.
Anyway, once you’re done with Californium #1974, regardless, if you switch to a direct MQTT approach, or whatever, please close the Californium issue, maybe with an final comment.
|
Hi yes @boaks, |
I was aware of that difference, to use MQTT direct without coap-mapping. What "works best" is hard to foresee. I lost somehow a couple of years ago the track to LwM2M. |
We don't plan to add support of MQTT in Leshan 2.0.0 because we target LWM2M 1.1 for this version (see #1235) But I have plan about doing a massive refactoring to abstract the transport layer in Leshan (probably a not so easy task 🤯 ...) :
If I succeed, At mid term, this should be the base to provide some kind of experimental new transport binding (maybe TCP or some NIDD transport) or new CoAP binding (some kind of POC not based on californium, but for now AFIAK californium seems to be the best choice for CoAP in java world) for Leshan 2.0.0. At long term, this should also be as base for MQTT transport binding probably in some kind of Leshan 3.0.0 targeting LWM2M 1.2. But you could eventually use this API to experiment this transport layer abstraction with MQTT sooner (I mean before we start to works on leshan 3.0.0), this will probably help to define a better abstraction and maybe if decide to contribute your work this could eventually be used as base for MQTT support in Leshan 3.0.0 ? |
@Frendzel I have a cleaner abstraction than #1220 for server side at #1318 , if you try to implement a |
first version of transport layer abstraction is now in master, See #1025 (comment) for more details. |
Hi guys, as we're considering approaches to use MQTT instead of COAP and we do not have support for LWM2M 1.2 we would like to ask about some potential places that could be extended in the code to replace some COAP connectors and add MQTT. What do you think guys? We were asking about mixing COAP with MQTT in the californium project: eclipse-californium/californium#1974
But we would like to consider replacing COAP with MQTT instead of mixing it.
The text was updated successfully, but these errors were encountered: