Arduino UNO Wifi doesn’t support MQTT UserName more than 31 char

Hi All,

I am not able to configure the MQTT UserName and password in Arduino UNO Wifi Connectivity console. I am getting below error. Tried configuring steps mentioned in the Getting started with the Arduino Uno WiFi

Error: Value for mqtt-username too long (65 > 31 allowed)

It seems like Arduino UNO Wifi doesn’t allow UserName & password more than 31 character.
My user name and password looks like this

UserName : xxxxxx.azure-devices.net/ArduinoUNOWIFI/?api-version=2018-06-30
Password : SharedAccessSignature sr=xxxxxx.azure-devices.net%2Fdevices%2FArduinoUNOWIFI&sig=xxxxxxxxxxxxxD&se=xxxxxxxxxx

You can check Communicate with your IoT hub using the MQTT protocol for UserName and password format details

To make sure my UserName & password is correct I used MQTT.fx Tool & it works very well in the 3rd party tool. That means no issues with my Azure hub MQTT setup.

Can anyone help me I an struggling since last week.

Regards,
Vin

you could modify and upload the modified firmware.
or upload some other firmware and a proper WiFi library.

some reading