Why Was the Error Code 4 Returned When I Used the IoT Device SDK for C for Device Connection?
It is because the entered account name or password was incorrect. For details about the error codes returned upon connection failures, see the error code description in the MQTTAsyn.h file.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.