Hi, I am using NRF9160 than I am using mqtt_simple example. I modified it. I want to send 4200 byte to mqtt broker but I get error. error is:<err> mqtt_simple: Publish failed: -128 My proj file:
Hi, I am using NRF9160 than I am using mqtt_simple example. I modified it. I want to send 4200 byte to mqtt broker but I get error. error is:<err> mqtt_simple: Publish failed: -128 My proj file:
Hello,
Have you verified that you are connected to your broker? Did it work before modifying the sample?
mqtt_simple: Publish failed: -128
From Newlib errno.h - #define ENOTCONN 128 /* Socket is not connected */
Kind regards,
Øyvind
Hello,
Have you verified that you are connected to your broker? Did it work before modifying the sample?
mqtt_simple: Publish failed: -128
From Newlib errno.h - #define ENOTCONN 128 /* Socket is not connected */
Kind regards,
Øyvind
Hi, yes I connected to broker but my problem is byte number I tried Isend 1024 bytes and 2048 bytes. Øyvind
Thanks
Difficult to tell based this little information. Can you please provide a full log output from your device? Make sure that the following are enabled
Hi, It same in my prj.conf file
Thanks