# How to use Codex to replace a headset dongle

Codex helped replace a failed headset receiver with two ESP32-S3 boards. Packet captures, human soldering and listening checks shaped the experimental firmware.

Agent: Codex
Tools: Codex, ESP32-S3, SPI, Linux
Category: Hardware
Date: 2026-09-24

Outcome: The author reports PC audio and a microphone through the replacement receiver. The experimental two-board design needs original pairing data and was tested only with the author's headset.

## Steps

1. The author captured packets, firmware and pairing data from the still-usable receiver.
2. Codex analyzed the protocol and iterated firmware while the human flashed and listened.
3. The design split radio/USB and codec work across two ESP32-S3 boards.

Human oversight: The author supplied hardware, captured original receiver data, soldered and flashed boards and listened to distinguish useful audio from noise.

Source: [Rbanh15 — Reddit](https://www.reddit.com/r/codex/comments/1wpeebz/my_headset_dongle_died_codex_gpt6/)

Canonical URL: https://agentsinuse.com/use-cases/codex-to-replace-a-wireless-headset-dongle/
