locked
Simple Publish-Subscribe messaging via IoT Hub RRS feed

  • Question

  • I’m new to Microsoft’s Azure IoT Hub and MQTT/AMQP communication in general and I am trying to establish simple communication between my raspberry pi and a Ubunutu VM running on my computer. I intended on using my pi by as a client to publish messages to a service running on my VM that simply echoes the message contents to std out. After reading all the literature on the Azure website/github page I’m having trouble figuring out the best way to do this. Is it possible to host a service on your local network? Are the iotHub service client samples on the SDK meant to be used as services or as clients intended to communicate with existing services on Azure (SQL databases, webserver, etc)? I was able to send messages to my IoT Hub portal with azure-iot-sdk-c-iothub_client-samples-othub_client_sample_mqtt  sample but couldn’t figure out where to include the topic my message was getting published to. I would really appreciate any help/input. Thanks.

    Friday, March 17, 2017 2:41 PM

All replies

  • hello

    i think Azure IoT Hub would be the right forum for this question

    br
    Andre

    Friday, March 17, 2017 2:47 PM
  • Thanks for the link, i tried looking for an IoT hub forum and couldn't find it
    Friday, March 17, 2017 3:02 PM
  • you are welcome

    a moderator will move it

    Friday, March 17, 2017 3:05 PM
  • don't think so, you could post a link to your re-post and mark that posting as answer
    Friday, March 17, 2017 3:33 PM