Module sdcard

Module sdcard 

Source
Expand description

SD card file format parsers for the TH-D75.

The TH-D75 stores configuration data, logs, recordings, and captures on a microSD/microSDHC card (up to 32 GB, per Operating Tips §5.14). These parsers allow reading and writing radio data without entering MCP programming mode – just mount the SD card via USB Mass Storage mode (Menu No. 980) or remove it physically.

Per User Manual Chapter 19:

  • Supported cards: microSD (2 GB) and microSDHC (4-32 GB). microSDXC is NOT supported.
  • File system: FAT32. Maximum 255 files per folder.
  • Format via Menu No. 830 (erases all data).
  • Unmount before removal via Menu No. 820.
  • Export config: Menu No. 800-803. Import: Menu No. 810-813.
  • Mass Storage mode (Menu No. 980 set to Mass Storage): the radio appears as a removable disk on the PC. RX/TX and recording are disabled in this mode.

Per User Manual Chapter 20 (Recording):

  • Recording format: WAV, 16-bit, 16 kHz, mono.
  • Up to 2 GB per file (approximately 18 hours). Continues in a new file if exceeded.
  • Recording band selectable: A or B (Menu No. 302).
  • Recording starts/stops via Menu No. 301.

Per User Manual Chapter 19 (QSO Log):

  • Menu No. 180 enables QSO history logging.
  • Format: TSV (tab-separated values).
  • Records: TX/RX, date, frequency, mode, position, power, S-meter, callsigns, messages, repeater control flags, and more.

§File Types

PathFormatTypeParsed?
KENWOOD/TH-D75/SETTINGS/DATA/*.d75BinaryFull radio configurationYes
KENWOOD/TH-D75/SETTINGS/RPT_LIST/*.tsvUTF-16LE TSVD-STAR repeater listYes
KENWOOD/TH-D75/SETTINGS/CALLSIGN_LIST/*.tsvUTF-16LE TSVD-STAR callsign listYes
KENWOOD/TH-D75/QSO_LOG/*.tsvTSVQSO contact historyYes
KENWOOD/TH-D75/GPS_LOG/*.nmeNMEA 0183GPS track logsYes
KENWOOD/TH-D75/AUDIO_REC/*.wavWAV 16kHz/16-bit/monoTX/RX audio recordingsYes
KENWOOD/TH-D75/CAPTURE/*.bmpBMP 240x180/24-bitScreen capturesYes

§Encoding

All parsers accept &[u8] input — the caller decides how to read the file (e.g., std::fs::read, memory-mapped, etc.).

The repeater list and callsign list use UTF-16LE encoding with a BOM. The QSO log and GPS log use plain ASCII/UTF-8 text.

Re-exports§

pub use audio::AudioRecording;
pub use capture::ScreenCapture;

Modules§

audio
Parser for WAV audio recording files.
callsign_list
Parser for D-STAR callsign list .tsv files.
capture
Parser for BMP screen capture files.
config
Parser for .d75 configuration files.
gps_log
Parser for NMEA 0183 GPS log .nme files.
qso_log
Parser for QSO log .tsv files.
repeater_list
Parser for D-STAR repeater list .tsv files.

Enums§

SdCardError
Errors that can occur when parsing SD card files.