Hello All
My code is found at https://github.com/develone/pico_w-mqtt.git in the dev branch.
I have tried to document my build found at https://github.com/develone/pico_w-mqtt/blob/dev/doc/pico_w-debug.pdf
I use RPi4 to build 6 remotes (remote1, remote2, remote3, remote4, remote5 and remote6). I do everything the command line.
I see others using Visual Studio or Eclipse.
I use openocd to program the pico_w
This is the output of tcp_debug task (cli1, cli2, cli3, cli4, cli5, and cli6)
../pi_tcp_tests/cli1
Socket created successfully
Connected with server successfully
Starting FreeRTOS on core 0: ver 0.0.04 remote1 Connected. iperf server 192.168.1.176 4001 mqtt_ip = 0xd401a8c0 mqtt_port = 1883 27/04/2023 23:31:57 4567890123456789012345678901234567890123012345678901234567890123456789012345678901234567890123456789012301234567890123456789012345678901234567890123456789012345678901230123456789012345678901234567890123456789012345678901234567890123��O�
Christoph M. Wintersteiger form lwip-users suggested the following
cyw43_arch_lwip_begin();
err_t r = mqtt_publish(client, topic, payload, payload_length, qos, retain, cb, arg);
cyw43_arch_lwip_end();
mqtt.c prototypes defines 39 functions
Since these are not called I did not add the cyw43_arch_lwip_begin();/cyw43_arch_lwip_end();
Currently testing 3 pico_w.
Thanks
Edward Vidal Jr. e-mail develone@sbcglobal.net 915-595-1613