Does anyone know the combination of APIs and functions I'd need, or the various code samples I could stitch together to make this work?
Non-Edge translation gateway examples using Azure IoT C SDK?
I'm trying to find code examples to build a translation gateway (NOT an Edge system) using C, preferably the C SDK with task control using FreeRTOS, although I could probably wrap everything RTOS myself if I had the rest of the example code working.
The goal is to have one device connected to Azure IoT Central via WiFi which can (1) provision existing but not-yet provisioned devices and (2) publish telemetry on their behalf (they cannot connect to the internet directly but will be on buses, local radios, filesystems, etc.).
The purpose of using the C SDK is for compatibility with a few microcontrollers that are relatively less constrained but still cannot run Linux, Windows, etc. (e.g. Espressif ESP32/Pico-D4). The purpose of avoiding Edge is hardware constraints (power, cost, etc.) of the project.
Are there any examples of this so so I don't have to build one from scratch?
Is there any way to do this other than AMQP "multiplexing" using multiple IoT Hub device clients objects that take turns sending?
Is there any way to publish telemetry messages using MQTT that will appear as separate devices in IoT Central? I'm reading here that "Any new MQTT connection on behalf of the same device ID causes IoT Hub to drop the existing connection"... but is there a way to on behalf of other device IDs?