I'm using a CR300 DataLogger in an Azure IoT project. After collecting data from sensors I was able to send data to IoT Hub over HTTP protocol, using the CRBasic HTTPPost() command. Azure IoT hub allows D2C messages to be sent over HTTP, AMQP or MQTT.
I'm more interested more in using the MQTT protocol. Had anyone tried, or succeeded to send messages over MQTT from CRBasic until now? If yes, please provide me with a short example, or any other hints.
MQTT support on the CR300 is in development stage still. I suggest configuring notifications on your campbellsci.com website account to notify you when a new datalogger OS version is available.
Until there is a new OS release, you will need to rely on the HTTP solution you have working.
@tinexobi can you share your http connection d2c code