I am using Digi Xbee Cellular 3G and have made a Web Server containing a database. The issue is that I am not able to connect to the database and the connect() function from the umqtt library throws an error "Index Error: Bytes Index Out of Range. Can anyone please help me resolve this issue?
My code is as follows:
from umqtt.simple import MQTTClient
mqttc = MQTTClient("XBee", "IPAddress", port, user="UsernameofMQTTBroker", password="PasswordofBroker")
What could be the issue?