Repository navigation
calcterm 0.5-alpha: Bluetooth keyboard
Pre-release
Pre-release
calcterm 0.5 adds a Bluetooth keyboard (Pico 2 W), working alongside telnet's Wi-Fi.
It's still an alpha: used daily by one person on one PicoCalc, against Ubuntu.
What's new
- A Bluetooth keyboard. Pair it once with
btpairfrom picocalc-extras (2.3 or later). After that calcterm finds it by itself: the sign-on says which keyboard it's waiting for, and pressing a key on it connects it. Both keyboards work at once, and every key on the Bluetooth one does what it does on the PicoCalc's, Alt+F1 to Alt+F5 included. - Bluetooth and Wi-Fi together, sharing the one radio: telnet to your machine, typed on a full-size keyboard.
- Alt+F3 shows the Bluetooth keyboard's state: paired, waiting or connected.
- Switching to 80 columns inside a full-screen program (Midnight Commander, say) no longer leaves the new columns coloured when the program exits.
Installing
Copy calcterm.uf2 to the card's pico2-apps folder, replacing 0.4; your settings carry over. To pair a keyboard, run btpair (picocalc-extras 2.3) once first. calcsize.sh and calcterm.ti are attached as before (unchanged).
Known limits
- Bluetooth and telnet need a Pico 2 W.
- Tested with a Logitech K380; other keyboards that btpair pairs should work the same way.
Next
SSH.
Built on Blair Leduc's picocalc-text-starter and picocalc-shell, picocalc-extras 2.3 for the Bluetooth keyboard, and the Pico SDK's lwIP and BTstack. The build is e1f0bf8 (shown on the sign-on line).