ETMINFO – displays AnyNet SMARTconnect™ and device information
Displays information about the current AnyNet SMARTconnect™ application and device.
Test
AT+ETMINFO=?
Available information keys and OK
Read
AT+ETMINFO?
OK or ERROR
Write
AT+ETMINFO="<key>"
The requested value, +ETM ERROR:, or ERROR
Use these information keys:
busychecks for background operations.cireturns the cell identity.iccid,imei, andimsireturn SIM, device, and cellular subscriber identifiers.locationreturns device latitude and longitude.mccandmncreturn the mobile country and network codes.mqttpubmsgreturns the number of stored MQTT messages.rssireturns the received signal strength.servicereturns the network registration status.statusflagsreturns the status flags.versionreturns the Eseye software version on the selected modem.gettimereturns UTC time, andgetlocaltimereturns local time.
The modem obtains time from NITZ and NTP when available. The [operation] time_format configuration setting controls the returned time format.
For busy, 0000 means it is safe to power down. Any other hexadecimal value means background work is in progress. Do not power down with pwrkey.
For mqttpubmsg, the response lists messages in the non-volatile and volatile queues. For service, 0 means not registered and 1 means registered.
statusflags returns hexadecimal status flags:
0000— No flag set.0001— MQTT RX.0002— MQTT RXov.0004— MQTT TXov.0008— Update success.0010— MQTT TX Refused.0020— MQTT TX Internal error.0040— MQTT TX OK.0080— Update fail.0100— Reboot required.
When multiple flags are set, the modem adds their values. For example, 000A indicates MQTT RXov (0002) and Update success (0008). See MQTT Rx Queue for flag meanings.
The module returns +ETM ERROR: for command-specific errors. It returns ERROR for an invalid command or missing parameter.
If location returns unknown, enable location in ETMCFG – read and write configuration file values. Also confirm that the modem can acquire a satellite lock.
Example
Related resources
8618 Eseye-enabled Quectel BG96 module Developer Guide (PDF)
Last updated
Was this helpful?