2026-05-27 10:16 AM
I am following the Azure tutorial using the B-L475E-IOT01A Discovery kit to connect to IOT Hub via MQTT.
Tutorial: https://learn.microsoft.com/en-us/previous-versions/azure/iot/tutorial-devkit-stm-b-l475e-iot-hub
I pulled the example source from git and added my Azure Hub, device ID and primary SAS per the tutorial but when I run the example program I get an 0x00010085 error which indicates an authentication error, see Teraterm output below.
Initializing Azure IoT Hub client
Hub hostname: xxxIotHub.azure-devices.net
Device id: xxxdevice
Model id: dtmi:azurertos:devkit:gsgstml4s5;2
ERROR: nx_azure_iot_hub_client_connect (0x00010085)
ILooking at the Azure Hub diagnostics file, Azure says, "No strong TLS ciphers available to connect to IoT Hub".
I enabled TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, recommended strong TLS cipher, but still get the same error code.
Additionally, I have tried the following but still cannot connect:
I am not sure how to debug this issue since I cannot use Wireshark to get a trace over Wi-Fi.
Any help would be appreciated.
Thanks...