m0lte.uk

Mainly amateur radio + code projects.

Post-quantum phone calls on the Yealink T48S

This follows on from the open firmware for the T48S I wrote about last month. Why bother Encrypted calls today agree their keys with elliptic curves. A large enough quantum computer would break those, and anyone recording calls now could decrypt them then. The fix is to agree keys with ML-KEM, the post-quantum algorithm NIST standardised in 2024, alongside the elliptic curve, so the keys stay safe while either one holds. ...

How wide is a Tait TM8100 signal?

“It’s a 12.5 kHz radio” gets said as though it were a bandwidth. It is not. I went through the Tait TM8100 and TM8200 manuals to find out how wide these radios really are, for voice and for data, and then looked at what Yaesu and Icom say about theirs. Three words that get mixed up Channel spacing is the step between one channel’s centre and the next: 12.5, 20 or 25 kHz. It is a grid on paper and says nothing about the signal. ...

When tmux draws your text as underscores

The terminal UI of opencode had stopped drawing text. Every non-ASCII character came out as a low horizontal bar: the close cross on a tab, the spinner, the separator dots. The same session outside tmux was fine, which pointed at the font. It was not the font. The pane still held the right characters. tmux capture-pane showed the close cross and the spinner exactly as they should be, so tmux was storing them correctly and losing them on the way out to the terminal. ...

After KISS: a host interface for a modem that picks its own rate

KISS has sat between packet radio software and its modems since the 1980s. The host hands over a frame, the TNC sends it when it can, and received frames come back the other way. It is about as small as a protocol can be, which is why everything speaks it. I am building a modem it cannot serve. The adaptive OFDM-FM modem for pdn-soundmodem is one waveform with 256 named formats, from 0.25 kbit/s up to tens of kbit/s over an ordinary FM radio. Every burst says in its header who it is for and which format it uses, receivers measure every burst they hear, and stations tell each other what their path will carry. The rate to each neighbour is the modem’s own business, and it changes while the link is up. ...

meshkeep: a MeshCore companion that stays connected

I have a MeshCore repeater with a yagi pointing at the local mesh, and a Bluetooth companion radio in the house. The trouble is that I’m not always in range of the companion. Messages that arrive while I’m away wait in its small queue, sync was flaky, and only one device could talk to it at a time. The problem A companion radio talks to one app at a time and holds only a limited queue of messages while no app is connected. MeshCore 1.18 on a Heltec V3 includes WiFi alongside Bluetooth, which you set up from the serial rescue CLI with set wifi.ssid and set wifi.pwd. That put the radio on my network, which was a good start. But the phone app still drops its connection whenever it’s backgrounded, so I was no better off for messages that arrived while the phone was in my pocket. ...

Open firmware for a Yealink T48S desk phone

There was a scrap Yealink SIP-T48S on my desk: an office SIP phone with a 7 inch 800x480 touchscreen, a handset, a loudspeaker, two Ethernet ports and a USB socket. Inside is a Broadcom BCM11188, an ARMv6 chip with 128 MB of RAM and 128 MB of flash, running Yealink’s build of Linux 2.6.27. It now runs open firmware instead: a current Linux kernel, a phone that makes calls, apps, and a setup page for a browser. It installs from a USB stick at the phone’s own screen, and the same screen puts Yealink’s firmware back. ...

AX.25 v2.3: where the work has got to

It has been quiet since the last post, so here is where things are. The short version: every state machine figure in the AX.25 spec is now held as data, and the main one, the Data Link machine, is checked by two independent tools. The largest run of those checks is 9 cases away from finishing, with no disagreement between the tools and nothing new found. What comes next is less computing and more conversation: the working group deciding what to do about the open issues, then the fixes, then a release candidate. There is no date for 2.3.0 yet. ...

A 4 kHz birdie in the Tait TM8100's receive audio

I have two Tait TM8110s on the bench, each with a USB sound card board fitted inside on the internal options connector, wired back to back through attenuators, for an OFDM modem I’m testing. It uses the radio’s audio right up to 8 kHz, far more than voice or 1200 baud ever touches, and up there one of the radios turned out to be whistling to itself: a narrow tone near 3.7 kHz in its own receive audio. ...

Delivery receipts for group messaging over LoRa

A small group has pocket LoRa radios and a shared channel. Someone sends “meet at the north gate at 14:00” and gets silence back. Did everyone get it? Did anyone? This post is me thinking through how you would find out, and what it would take to do better than hoping. Nothing here is built yet. Some of it I have checked against documentation and some is arithmetic or guesswork, and I have tried to say which is which. ...

Below the FM threshold: packet 24 dB under where FM modes stop

Every FM data mode in pdn-soundmodem stops at the same place. AFSK 1200 needs about +8 dB carrier-to-noise in the receiver’s IF, 9600 baud about +10.5, and the best of them, OFDM-FM at 1 kbit/s, +5.8 dB. Below that the radio’s discriminator stops handing up a signal and starts handing up clicks, and no amount of coding on the audio gets you far past it. So a station whose path is 20 dB short of that is simply not on the network. ...