radio-cmd Usage

radio-cmd is a simple utility to send general or predefined AT commands to the cellular radio. Here is the usage information:

        <AT_COMMAND> [ -t  -d  ] : send AT command. Timeout and device are optional

        --device (d)                 : modem device to use, default: /dev/modem_at1
        --init-dc                    : initiate device configuration update
        --init-fumo                  : initiate module/modem firmware update
        --init-prl                   : initiate PRL update
        --init-activation [ --msid  --mdn ]
                 : initiate account activation.  Some carriers require MDN and MSID

        --set-mdn  [ --msl  ]        : set MDN value. Some carriers require MSL
        --set-msid  [ --msl  ]       : set MSID value. Some carriers require MSL
        --set-msl              : validate & save Master Subsidy Lock (MSL) in cache
        --set-mip-active-profile     : set active MIP profile
        --set-mip-nai                : set MIP Network Access Identifier
        --set-mip-home-ip            : set MIP Home Address
        --set-mip-primary-ha         : set MIP Primary Home Agent
        --set-mip-secondary-ha       : set MIP Secondary Home Agent
        --set-mip-mn-aaa-spi         : set MIP MN AAA SPI
        --set-mip-mn-ha-spi          : set MIP MN HA SPI
        --set-mip-rev-tun            : set MIP Reverse Tunneling
        --set-mip-mn-aaa-ss          : set MIP MN AAA SS
        --set-mip-mn-ha-ss           : set MIP MN HA SS
        --factory-default [ --msl  ]  : reset to factory defaults

        --printlvl (p)               : sets the printlvl [0-100]
        --version (v)                : returns version
        --help (?)                   : returns this message

        Supported Radios:
                HE910, GE910, DE910, CE910


$ radio-cmd AT+CREG?
+CREG: 0,1