I have tried to use ActiveMQ as Microsoft Service Bus. I configured ssl layer on activemq and also $cbs queue has been already created by an c# application using azure servicebus SDK.
But when I tried to use azure IotHub SDK C for my device, it seems that I should pass activemq username and password . How can I change the iothubtransport_amqp_common.c to connect my device to ActiveMQ.
I could connect to Azure IoTHub by using amqpnetlite. If I wanted to connect to activeMQ, I should pass Username and Password. And it works OK. so I want to know: in azure iot sdk how can I pass these 2 options(Username and Password)?