Skip to main content



      Home
Home » Eclipse Projects » OM2M » Is it possible to rely on mqtt for npotifications and HTTP for all other operations?
Is it possible to rely on mqtt for npotifications and HTTP for all other operations? [message #1834380] Mon, 09 November 2020 07:13 Go to next message
Eclipse UserFriend
Hi
I am trying to implement notifications using mqtt but the rest of operations using http (create AE, containers, subscriptions, etc)

Can we mix HTTP and MQTT bindings. If so, how to pass the <nu> element of the notification for mqtt?

I am using like this but it does not works:

<nu>mqtt://test.mosquitto.org/test/topic1</nu>

Thanks a lot
Alex
Re: Is it possible to rely on mqtt for npotifications and HTTP for all other operations? [message #1835120 is a reply to message #1834380] Wed, 25 November 2020 02:22 Go to previous message
Eclipse UserFriend
Hi there,
Protocol bindings are independent of OM2M core. You can interact with the same resources seamlessly using HTTP or MQTT.
The notifications in MQTT should be supported as there is an MQTT protocol binding plugin.
Could you give more information on the error you get and the logs of OM2M?

Be sure to have an MQTT client on the other side subscribing to the right topic and answering correctly when the verification request is sent at subscription creation.
Previous Topic:Is this a bug? Or my fault?
Next Topic:Does OM2M supports mqtt notifications?
Goto Forum:
  


Current Time: Sat Jul 05 06:42:19 EDT 2025

Powered by FUDForum. Page generated in 0.11509 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top