Hello @Red255 ,
As you well described and if we read the documentation Communicate with your IoT hub using the MQTT protocol , IoTHub won't accept 'SUB_TOPIC' when sending device-to-cloud messages!
When not able to make any changes to your brownfield\legacy devices then yes, Azure IoT protocol gateway will help you! If you want to keep it on the edge you can leverage Azure IoT Edge acting as an MQTT broker.
You can use Azure IoT Edge MQTT broker to publish and subscribe to messages. ... publish and subscribe to messages over user-defined topics, and use IoT Hub messaging primitives
Remember:
- Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
- Want a reminder to come back and check responses? Here is how to subscribe to a notification.