question

muhammedkhalifa-6574 avatar image
0 Votes"
muhammedkhalifa-6574 asked muhammedkhalifa-6574 commented

How to connect TCP/IP device with Azure IoT hub and also the device is non programmable

Hello

I want to connect a device that is working on TCP/IP protocol with the Azure IoT hub the thing which can be modified in the device is IP address and port number so my question is how can I connect this type of device with the Azure IoT hub

Thanks

azure-iot-hubazure-iot-edge
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AshokPeddakotla-MSFT avatar image
1 Vote"
AshokPeddakotla-MSFT answered muhammedkhalifa-6574 commented

@muhammedkhalifa-6574 Welcome to Microsoft Q&A forum!

Could you share more details about the scenario? What kind of device are you referring to? As you have mentioned, the device is non-programmable. If you are you able to use gateway, then you can use Azure IoT protocol gateway to enable protocol adaptation for IoT Hub.

Azure IoT Hub natively supports communication over the MQTT, AMQP, and HTTPS protocols. In some cases, devices or field gateways might not be able to use one of these standard protocols and require protocol adaptation. In such cases, you can use a custom gateway. A custom gateway enables protocol adaptation for IoT Hub endpoints by bridging the traffic to and from IoT Hub. You can use the Azure IoT protocol gateway as a custom gateway to enable protocol adaptation for IoT Hub.

Please see Support additional protocols for IoT Hub and IoT Hub Device Streams (preview) for more details.

Do let us know if that helps. I will further enquire and update if there is a direct way you can connect these device to IoT Hub.

If the above response is helpful, please click "Accept Answer" and upvote it.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

My device is a Chinese OBD-II device that works on TCP/IP protocol in this device I have only permission to change the IP address and port number

0 Votes 0 ·

I found this documentation confusing I am not able to figure where exactly I have to make a change and also I am not able to get any of the tutorials regarding this type of integration can you explain to me or share the link if anyone had worked on this IoT protocol gateway.

0 Votes 0 ·
KevinOrbaker-4400 avatar image
0 Votes"
KevinOrbaker-4400 answered muhammedkhalifa-6574 commented

Can you provide details on what it is posting to the given IP/Port? Is it just sending a RAW HEX payload to a given IP address?

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

yes it is RAW HEX data send by the device to the given IP address

0 Votes 0 ·