Infrared on the MakerPhone 2 sample

Open Infrared from the home menu. This adapter targets the owner's transmit/receive expansion module and the recovered MP24 pin assignments; it is not a generic MakerPhone-module compatibility claim.

The Infrared menu captured from the MakerPhone framebuffer
  1. Choose Record remote signal, point the remote at the module, and press one button. Recording expires after ten seconds. A usable capture shows its pulse count.
  2. Press D to save a new .ir recording to the SD card. No existing recording is overwritten. Without SD, the current signal remains in RAM until replaced or the phone restarts.
  3. Press A on the selected signal to transmit once. B stops an active operation and returns to the IR menu; C stops it and returns home. Incoming phone activity also cancels IR.
  4. Choose Browse SD remotes to open a file, then use Left/Right for its buttons. At most 32 previous button offsets are retained. An unsupported parsed protocol is labeled and can be skipped with Right.

The carrier menu cycles 36, 38, 40 and 56 kHz. Learning defaults to 38 kHz assumed: it does not measure carrier frequency. Imported raw files retain their stated frequency and duty cycle. Changing the carrier also changes the current signal and marks it unsaved. Carrier selection currently resets on reboot.

SD layout and formats

/hackerphone/ir/
  recordings/    Newly learned raw signals, with unique filenames
  database/      User-supplied .ir libraries and subfolders

Libraries stay on the card. A buffered parser reads one button at a time into fixed signal buffers in PSRAM; it does not copy an entire database into flash or RAM. The existing file browser lists 32 entries per page. Names with spaces are supported. Folder traversal, control characters and oversized paths are rejected.

The independent MIT reader/writer follows the documented Flipper .ir interchange format. No Flipper application code or third-party remote database is bundled. Retain the license and source notices of any database added to the card.

USB controls

Command Action
IR Open IR menu and stop radio tools
IR RECORD, IR STOP Arm the receiver or cancel
IR STATUS State, pulse count, carrier, record number and result
IR OPEN /hackerphone/ir/database/Remote.ir Load the first button; never transmits
IR NEXT, IR PREV Browse one button at a time
IR FREQ 38000 Set assumed carrier, 10โ€“100 kHz
IR SEND Transmit selected signal once
IR SAVE, IR SAVE Living room power Save a new recording, optionally naming the button
IR SELFTEST Write/read/remove a dedicated synthetic SD fixture; never transmits and refuses to discard an unsaved signal

SD parser tests and receiver startup/timeout checks have passed on this sample. A successful RMT call alone does not establish optical reception, carrier accuracy, range or control of an appliance. Those remain physical acceptance checks.