-
Notifications
You must be signed in to change notification settings - Fork 258
IotHub Receiving messages #39
Comments
Hi @mupparajuvamsi , What client are you using to get EventHubClient? Let us know which client you are trying to use on your module and we can try to check if it's possible and how to change port (if possible). Have you tried to receive the message using our IotHub Client? Thanks, Angelo Ribeiro. |
Hi @aribeironovaes |
Thanks @mupparajuvamsi , Just to confirm, since it's not clear on your message. To check more documentation of the specific scenarios you are listing, take a look into our samples on both Azure Gateway SDK (this github) and Azure IoT Hub. Once you confirm that you are using Gateway Java Binding to receive the message We can guide you more on the D2C and C2D scenarios, as well as selecting the Java SDK to check if you can change the port used.... Thanks, Angelo Ribeiro. |
Thanks @aribeironovaes Secondly provide any reference documentation for D2C and C2D scenarios, (Sending as well as Receiving ) |
Hi @mupparajuvamsi , Ok, from your message I can see that you are using https://github.com/Azure/azure-iot-sdks/ instead of gateway sdk. Can you post your question on https://github.com/Azure/azure-iot-sdks so you can get proper answer? There you will able to have your questions addressed better. That said, I went to the Azure-iot-sdk and here is the documentation on how you can do C2D and D2C using Java Client: Follow the step by step on how to run the sample and you should see both C2D and D2C working there. They also have an api documentation here: https://azure.github.io/azure-iot-sdks/java/device/api_reference/index.html Regarding the Firewall issue you are having, please do post a question on https://github.com/Azure/azure-iot-sdks/ and they may be able to help you. If I have to guess you would be able to change protocols that you connect to IoT Hub (Http, Mqtt or AMQP). I'm going ahead and close this issue here so you can open a proper issue/question on the respective github repository, but feel free to open anytime if you need help with the azure-iot-gateway-sdk. Thanks a lot and let us know if this helped, Angelo Ribeiro. |
Hi Iam trying to read messages from IotHub using EventHubClient createFromConnectionStringSync
while doing that it is trying to connect to 5671 port and my firewall is blocking that how to specify https port or how to resolve this issue to receive devicetomessages
The text was updated successfully, but these errors were encountered: