bmh
April 7, 2022, 6:11pm
1
I’m using the following library Google IoT Core | Dev Center
I’m running error codes that I cannot seem to find in the source or on the library pages.
-1 and 5
I’ve checked the MQTT page aswell and nothing to be found. Can I get a list of the error codes and what they mean?
bmh
April 7, 2022, 6:17pm
2
Trying to get some R&D done with your imp006m. Hopefully, I can get some feedback soon.
phil
April 8, 2022, 10:24am
3
5 is an ‘authorisation failed’ error and -1 is a generic socket error (maybe remote close), so it’s worth checking the authentication and registration notes here:
https://developer.electricimp.com/libraries/cloudservices/googleiotcore#authentication-and-registration
The error codes are listed in the onconnect
page:
https://developer.electricimp.com/api/mqtt/mqttclient/onconnect
system
Closed
June 7, 2022, 11:24am
4
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.