Hi, I'm new to C, but I have made an application based on mqtt_simple that does what I want.
Now I would like to set the credentials from a variable that I have generated, but I can't seem to get it right.
The Variables passW and userId is defined at the top:
This is the code I have in client_init:
It outputs:
[00:00:03.111,633] <dbg> mqtt_simple: client_init: USERID = 'test123'
[00:00:03.111,633] <dbg> mqtt_simple: client_init: PASSWO = 'test123'
[00:00:03.111,663] <inf> mqtt_simple: TLS enabled
[00:00:12.363,342] <err> mqtt_simple: mqtt_connect -12