/ Documentation / Tests / USB GPRS modem
en | ru

USB GPRS modem (gprs-modem)

This simple test can determine connected USB modem workability. It sets modem/port speed to 115200bps, checks for proper answer on AT-commands and retrieves it’s IMEI number.

  • Components tested: USB, GPRS Modem
  • Variables:
    • ANSWER_ATI (string, default: OK) — String to get after ATI
    • CHAT_TIMEOUT (int, default: 5) — Timeout for waiting for answer
    • DEV (string, default: /dev/ttyUSB0) — Name of device to test