Azure / azure-iot-sdk-c

A C99 SDK for connecting devices to Microsoft Azure IoT services
https://azure.github.io/azure-iot-sdk-c
Other
585 stars 739 forks source link

Identity translation gateway #2535

Closed ClaesIvarsson closed 8 months ago

ClaesIvarsson commented 10 months ago

Is there any way to implement identity translation gateway using this sdk ?

In my project, we are using esp32 with mesh network and would like to let all nodes in the mesh network connect to an IoT Hub though the root node of the network.

Today we use the NAT feature in the mesh network and let all nodes have their own connection to the IoT Hub I have noticed that the root node struggle to handle the traffic when mesh network becomes larger. Instead I would like to let the root node be the only one to connect to the IoT Hub and act as a gateway for all the nodes in the network.

I have seen the sdk for Egde node with translation gateway capability but it is implemented en C#, is there a port for c/c++ ?

ericwolz commented 10 months ago

No, there is no port to C for an Egde node with translation gateway.

ClaesIvarsson commented 10 months ago

Is there anyway to implement identity translation gateway functionality using this SDK ? Or can you suggest another solution for for this scenario ?

ericwolz commented 10 months ago

Identity translation is out of scope for this SDK.

You would need to port this over to a C project. https://github.com/azure-samples/azure-iot-edge-identity-translation-lite/tree/master/

ClaesIvarsson commented 10 months ago

Identity translation is out of scope for this SDK.

You would need to port this over to a C project. https://github.com/azure-samples/azure-iot-edge-identity-translation-lite/tree/master/

Unfortunately this example has some major features missing. Do you know if there is a description somewhere on how to handle the open points listed in this example?

ericwolz commented 8 months ago

I don't know. Please follow up these questions directly in that repo for better directed assistance.