Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8374

SDK • Re: Pico W generates error after using TCP for a while

$
0
0
O.K. so I guess it's only me. :geek:
I did a thing and it worked, the UDP protocol will NACK any invalid command. Now I have a Lua state running that the protocol can see if Lua has a function for the command and run it. That's working second try I got the Lua code wrong the first time.

Code:

$  nodectl 31 "~"Node   :  STX [NODE1F] [SERVER]  FS  [ACK]     FS  "OK" EOF [ 0xCA ] PASSED$  nodectl 1 "~"Node   :  STX [NODE01] [SERVER]  FS  [NACK]    EOF [ 0x07 ] PASSED
Node 31 is my development Node and node 1 is off doing important real life work.

Now I can update the firmware over tftp and add more functions, that to me is exciting :geek: :ugeek:

Statistics: Posted by DarkElvenAngel — Thu Dec 21, 2023 10:19 pm



Viewing all articles
Browse latest Browse all 8374

Trending Articles