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

MicroPython • Re: Enabling Telnet as Client from Pico using uPython, Telnetlib deprecated?

$
0
0
Looking like it should work, real data from the real server on the Pi -

Code:

b'DX de XxxXX:      7003.6  XXxX         CW                             1943Z'b'DX de XXxX:      28083.9  XXxXX                                       1943Z'b'DX de XXxXXX:    18072.0  XXx/XXxXX    QSO + 2.5                      1943Z'
Next steps are -

Getting the Pico to login to my Pi and issue that 'ls' command.

Getting the Pico to connect to the server you want it to.

Adding a 'ShowLine' routine which will provide data to be parsed and put on the LCD display, done but currently sending back via the USB Serial link.

Proving that works by capturing some number of lines before automatically exiting.

Adding a 'quit' variable so your push button can activate that and cleanly disconnect from the server, capturing everything until pushed.

At that point I suppose it's 'pause time', where proof of concept that it all works is done, and it's time to figure out how to fit what you want in with that.

Statistics: Posted by hippy — Sat Feb 07, 2026 8:17 pm



Viewing all articles
Browse latest Browse all 8037

Trending Articles