ESP32 Bit Pirate home
  • CELL
  • Beginner
  • 5 min
  • Serial CLI

Recipe · Beginner · CELL

How to dump SIM card information

Use CELL mode to query SIM card status and identifiers from a cellular modem with the sim command.

Cellular modem with SIM card and radio signal.
Start with read-only checks, then move to write, replay or automation only when the setup is understood.
Step 1

Commands

Use the shortest command path that matches the documented firmware workflow. When a mode needs setup, follow the prompts shown on first entry.

Result

What it means

The command path is working when the target responds and the firmware prints the expected menu, status or captured data.

Troubleshooting

  • Re-enter the mode setup when pins or peripherals are not already initialized.
  • Check common ground and target voltage before blaming software.
  • Prefer Serial CLI for long captures or high-volume output.
  • Repeat the read or capture to confirm stability.

Next steps

  • Save the output in your project notes.
  • Compare the result with the full wiki page for mode-specific details.
  • Create a shorter alias if you repeat this workflow often.

SIM card information FAQ

What does the sim command tell me?

It reports SIM presence and status information from the modem, and may expose identifiers depending on the module and operator state.

Why does the SIM look present but unusable?

The card may need a PIN unlock, have no service, be inactive, or be incompatible with the modem or local network bands. Follow with network and operator checks.

Should I publish SIM identifiers from the dump?

No. Treat SIM identifiers and phonebook data as private. Redact them before screenshots, bug reports, documentation or public logs.

Go deeper