You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been testing the comms-01 example (both client and fw) on a standard Pi Pico.
The examples compile and run, and appear to work fine at first glance:
Pinging with 0... got 0!
Pinging with 1... got 1!
Pinging with 2... got 2!
Pinging with 3... got 3!
Pinging with 4... got 4!
Pinging with 5... got 5!
Pinging with 6... got 6!
Pinging with 7... got 7!
Pinging with 8... got 8!
Pinging with 9... got 9!
App is done
However, if I edit the Pico firmware to modify the ping_handler so it either returns a fixed value, or even just loop{}s, the client still reports 9 successful incrementing pings.
As far as I can see, the ping_handler function doesn't appear to be getting run, but the client still thinks it's receiving an incrementing result. Any ideas welcome, as I am somewhat baffled...!
David
The text was updated successfully, but these errors were encountered:
Ah! Yes, sorry, that should definitely be more clear. There are currently two "baked in" handlers:
Ping
Schema discovery
For Poststation, there's also a mandatory handler, "get unique id", but that is not "baked in".
We should definitely remove the PingHandler in the example - that was a mistake not to remove when I moved that to be "baked in". Let me know if you still plan to PR this, or I will remove it soon.
Hi,
I have been testing the comms-01 example (both client and fw) on a standard Pi Pico.
The examples compile and run, and appear to work fine at first glance:
However, if I edit the Pico firmware to modify the ping_handler so it either returns a fixed value, or even just loop{}s, the client still reports 9 successful incrementing pings.
eg
or even :
As far as I can see, the ping_handler function doesn't appear to be getting run, but the client still thinks it's receiving an incrementing result. Any ideas welcome, as I am somewhat baffled...!
David
The text was updated successfully, but these errors were encountered: