simtrunkDocs

Check your hardware with simdoctor

Find out what your card readers, USB modems and SIMs can do (SMS, USSD, calls, VoLTE, VoWiFi) before you rely on them.

simdoctor looks at the card readers and USB modems plugged into a computer, reads their SIMs, and tells you what each one can do: SMS, USSD, circuit-switched (GSM) calls, VoLTE and VoWiFi. For each verdict, it shows the evidence behind it.

Use it:

  • before you connect a computer as a SIM bank, to see which lines its SIMs can give;
  • before you buy more readers or modems of the same model;
  • when a line doesn't come up, to see what the modem and the SIM report.

It runs on its own: the computer doesn't need to be enrolled, and it doesn't need a simtrunk account. Get it from Download simserve and simdoctor.

Run it

Plug in the readers and modems with their SIMs, then:

Terminal
sudo simdoctor

It finds every reader and modem, waits up to 30 seconds for the modems to answer, and prints a report for each. On Linux, sudo lets it open the modems' serial ports; on macOS and Windows, run it as yourself.

By default it only reads: it sends nothing to the network and changes no modem setting, so it costs nothing.

Check one device

Terminal
simdoctor -modem <id>          # one modem, by the id the full run printssimdoctor -reader "ACS ACR39U ICC Reader 00 00"   # one card reader, by name

Both can be repeated to check several. simserve readers lists the names too.

Live tests

To prove that SMS and USSD really work on a SIM, add a live test. These go through the carrier and cost what your carrier charges:

Terminal
sudo simdoctor -sms-to +243810000000            # sends "simdoctor test" from each modemsudo simdoctor -sms-to +243810000000 -sms-text "Hello"sudo simdoctor -ussd '*100#'                    # runs a USSD code on each modem

Warning

Send test SMS only to a number you own. Quote USSD codes ('*100#') so your shell doesn't read the * and #.

All options

OptionWhat it does
-modem IDCheck only this modem (repeatable)
-reader NAMECheck only this card reader (repeatable)
-modem-tty GLOBAlso look for modems on these serial ports, e.g. /dev/ttyUSB* (repeatable)
-wait 30sHow long to wait for the modems to answer
-sms-to NUMBERLive: send a test SMS from each modem
-sms-text TEXTThe live test SMS's text (default simdoctor test)
-ussd CODELive: run a USSD code on each modem
-jsonPrint the reports as JSON, for scripts and support tickets
-vLog what it does: discovery and the modems' attach
simdoctor versionPrint the version

Reading the report

  • A card reader's SIM can give a VoWiFi line where its carrier offers Wi-Fi calling. simdoctor checks the SIM and the carrier's Wi-Fi calling gateway.
  • A modem's SIM can give a VoLTE, GSM or VoWiFi line, depending on the modem and the carrier. simdoctor reports what the modem supports and what the network accepted.
  • When something can't work, the evidence says why: for example, no SIM in the modem, a modem without voice, or a carrier without Wi-Fi calling.

The dashboard runs the same checks on a connected bank's slots, so you can check hardware already in use without logging in to the bank.

If you contact support about hardware, attach the output of simdoctor -json -v.

How is this guide?

Last updated on

On this page