-
Notifications
You must be signed in to change notification settings - Fork 93
When can we have AMQP_Protocol or MQTT_Protocol support? #26
Comments
Hi @yaweiw |
Can you please confirm or refute, that currently only sending data to the IoTHub is supported and not receiving messages via MQTT? I'm a bit confused... |
At this point you can only use HTTP to send AND receive messages using the Arduino lib. |
Hey, thanks for the answer. How can I receive notifications with HTTP? Does your lib use long polling? Plans for supporting MQTT sound good! |
The library doesn't implement long poling, you have to do it in your loop. MQTT will definitively solve this. |
For AMQP & MQTT, I use below code snippet to poll for iot client status |
Hi @yaweiw |
@olivierbloch in our code, sending is happening constantly.. any possibility to just receive while not send. I guess it's no according to behavior of IoTHubClient_LL_DoWork? |
Actually you can receive without ever sending. You need to register the callback for receiving messages, then regularly call DoWork. If a message is sent from the Cloud to the device then the next time the DoWork is called, the device client will get the message and will invoke the callback you registered. Our samples show this pattern |
@olivierbloch Could you roughly estimate when you will support MQTT with this library? In 1 month, 6 month or 1 year? |
Please I would like to have that answer as well. |
Would also very much like to know any kind of rough timeline indication on this. Thanks for the great work! |
We are actively working on bringing MQTT support and expect this to be shipped in the next month or so. |
MQTT would make a great Holiday gift! |
Hi, |
as titled.
The text was updated successfully, but these errors were encountered: