CLI commands

The following table provides all of the available CLI commands for configuring the device and viewing status information.

Command Use Options
fwupdate Update the firmware with a firmware image Make sure the terminal program is able to transfer YMODEM files.
status Display device information

View the following:

  • Device Type: Name and version of the device hardware.
  • Device ID: ID number for the Connect Tank device.
  • Firmware Version: Version of the device’s current firmware.
  • UTC Time: Last reported date and time.
  • Battery Life: Amount of battery life remaining.
  • Sensor: Status of the sensor.
  • Mobile support software: Version of the mobile software.

  • Device type: Cellular network type the device connects to.

  • Manufacturer: Cellular modem manufacturer.

  • Model: Cellular modem model number.

  • Modem revision: Modem firmware version.

  • Serial number: Modem serial number.

  • Phone number: Phone number registered to the activated SIM card.

  • SIM IMSI: Unique user identifier for the cellular network.

  • SIM ICCID: SIM serial number.

  • SIM PIN status: State of the SIM card.

  • Connection state: Cellular connection state.

  • Connection duration: Amount of time the cellular modem was connected during last wake cycle.

  • Disconnect reason: Cause of the cellular modem disconnection during last wake cycle.

  • Connections: Number of cellular connection attempts since power up.

  • Connection errors: Number of failed connections since power up.

  • User disconnects: Number of normal disconnections since power up.

  • Monitoring errors: Number of cellular modem errors since power up.

  • Device resets: Number of times cellular modem was reset to recover from errors since power up.

set Manage device configuration

Use the following commands to change settings:

  • apn: Access point name for the cellular network (supplied by your cellular service provider). Settings:

    Note If you purchased Digi Bundled Services, the cellular connection is already configured on your Connect Tank.

    • Minimum length: 1 character
    • Maximum length: 63 characters
    • Alpha-numeric characters, hyphen, period
    • Cannot be disabled
  • isn: URL to connect to Remote Manager; this is configured by default and should only be changed when directed by a Digi representative. Settings:
    • IPv4 address, such as 10.20.30.40 or an FQDN, such as devicecloud.digi.com
    • Minimum length: 1 character
    • Maximum length: 63 characters
    • Alphanumeric characters, hyphen, period
    • Cannot be disabled
  • pin: PIN for your SIM card, if required (supplied by your cellular service provider). Settings:
    • Minimum length: 4 characters
    • Maximum length: 8 characters
    • Numeric only
    • No value: disabled (no PIN required)
  • pwd: Password for your cellular account, if required (supplied by your cellular service provider). Settings:
    • Minimum length: 1 character
    • Maximum length: 63 characters
    • Printable characters and spaces only (no quotation marks or backslashes)
    • No value: disabled (no user name required)
  • usr: User name for your cellular account, if required (supplied by your cellular service provider). Settings:
    • Minimum length: 1 character
    • Maximum length: 63 characters
    • Printable characters and spaces only (no quotation marks or backslashes)
    • No value: disabled (no user name required)