Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

An error buffer is implemented in each terminal to store data on terminal operation errors. To display the buffer contents use either the terminal (an AT command) or an SMS.

SMS:

The SMS displays the last 10 errors starting with the most recent one.


SC ERR PWD=<password> [CLR]


This command includes one optional parameter – CLR. If you add this string after the password in the command SMS, you will receive an SMS showing the current buffer contents and all errors will then be deleted from the terminal memory.

The following reply will come from the terminal after processing:
1:8,10 2:3,10 1:1,0 7:8,10 6:8,7 5:7,40 4:11,848

AT COMMAND:

Error codes are obtained by AT^SCERR? which response is:

^SCERR: {id}> {ID}, {Additional value}
                  id                     - Sequence number of the error since the last start-up.
                  ID                    - Error identification. See table below.
                  Additional value - Detailed information

 

This table describes the meaning of the  2N® SmartCOM PRO reset error codes.

IDNameAdditional valueDescription
0ERR_TYPE_NO_ERROR No error
1ERR_TYPE_SIM_PRESENCE SIM not detected
2ERR_TYPE_SIM_FEW_PIN_ATTEMPTSpin attempts leftToo few attempts left
3ERR_TYPE_SIM_PIN_ERRORCME errorIncorrect PIN
4ERR_TYPE_SIM_BUSY SIM is busy
5ERR_TYPE_GSM_REGISTRATION_LOST GSM unregistred
6ERR_TYPE_GSM_REGISTRATION_TIMEOUT Could not register to the network
7ERR_TYPE_COMMAND_RETRIESCommand channel stateGSM module does not respond on the command channel
8ERR_TYPE_DATA_RETRIESData channel stateGSM module does not respond on the data channel
9ERR_TYPE_MUX_WAIT_OPEN Timeout for openning the MUX channel
10ERR_TYPE_PSPRAS_INVALID_ARG_CNT Unexpected count of parameters (PIN attempts read)
11ERR_TYPE_CME_COMMANDCME errorCME error on command channel
12ERR_TYPE_CMS_COMMANDCMS errorCMS error on command channel
13ERR_TYPE_CME_DATACME errorCME error on data channel
14ERR_TYPE_CMS_DATACMS errorCMS error on data channel
15ERR_TYPE_CME_UPGRADECME errorCME error on command channel while upgrading
16ERR_TYPE_CMS_UPGRADECMS errorCMS error on command channel while upgrading
17ERR_TYPE_CME_UPGRADE_DATACME errorCME error on data channel while upgrading
18ERR_TYPE_CMS_UPGRADE_DATACMS errorCMS error on data channel while upgrading
19ERR_TYPE_SC_CLIENT_UNABLE_TO_CONNECT Could not connect to the remote server
20ERR_TYPE_SC_UPG_ERRORUPG error codeUpgrade failed
21ERR_TYPE_SC_UPG_BLOCK_ERROR  Did not get all requested data
22ERR_TYPE_SC_MEMORY_ALLOCATION_ERROR Memory allocation failed
23ERR_TYPE_SC_SPECIFICATION_ERROR Cannot find the SC specification (serial num etc.)
24ERR_TYPE_PROTOCOL_RETRIES Server not responding
25ERR_TYPE_SC_UPG_MAXIMUM_RETRY_CNT Upgrade failed three times
26ERR_TYPE_MBUS_SHORT_CIRCUIT MBUS short circuit
27ERR_TYPE_GSM_COMMANDCommand channel stateGeneral error on command channel
28ERR_TYPE_GSM_COMMAND_UPGRADE Command channel stateGeneral error on command channel while upgrading
29ERR_TYPE_GSM_DATA Data channel stateGeneral error on data channel
30ERR_TYPE_GSM_DATA_UPGRADE Data channel stateGeneral error on data channel while upgrading

 

Anchor
command channel
command channel
Command channel states

 GSM module set-up state set.

IDName
0COMMAND_SUB_STATE_AT
1COMMAND_SUB_STATE_FACTORY_RESET
2COMMAND_SUB_STATE_MUX_STARTUP
3COMMAND_SUB_STATE_MUX_STARTUP
4COMMAND_SUB_STATE_ECHO_OFF
5COMMAND_SUB_STATE_MODUL_MANUFACTURER
6COMMAND_SUB_STATE_MODUL_TYPE
7COMMAND_SUB_STATE_MODUL_FW_VERSION
8COMMAND_SUB_STATE_GET_IMEI
9COMMAND_SUB_STATE_READ_OPERATOR_NAME
10COMMAND_SUB_STATE_ERROR_REPORT
11COMMAND_SUB_STATE_EVENT_REPORT
12COMMAND_SUB_STATE_MESSAGE_FORMAT
13COMMAND_SUB_STATE_SIM_PIN
14COMMAND_SUB_STATE_SIM_PIN_ATTEMPT_STATUS
15COMMAND_SUB_STATE_INSERT_SIM_PIN
16COMMAND_SUB_STATE_GET_IMSI
17COMMAND_SUB_STATE_GET_ICCID
18COMMAND_SUB_STATE_DELETE_ALL_STORED_MESSAGES
19COMMAND_SUB_STATE_SIGNAL_QUALITY
20COMMAND_SUB_STATE_FIELD_STRENGTH
21COMMAND_SUB_STATE_ASK_NETWORK_REGISTRATION
22COMMAND_SUB_STATE_NETWORK_REGISTRATION_INDICATION
23COMMAND_SUB_STATE_CHARACTER_SET
24COMMAND_SUB_STATE_LIST_ALL_UNREAD_MESSAGES
25COMMAND_SUB_STATE_SHOW_TEXT_MODE_PARAMS
26COMMAND_SUB_STATE_NEW_MESSAGE_INDICATION
27COMMAND_SUB_STATE_CLOSE_CONNECTION
28COMMAND_SUB_STATE_OTHER
29COMMAND_SUB_STATE_START_UP_LED_SEQUENCE
30COMMAND_SUB_STATE_IDLE_AT
31COMMAND_SUB_STATE_INIT_COMPLETE
32COMMAND_SUB_STATE_SEND_RESPONSE_MESSAGE_CMD
33COMMAND_SUB_STATE_SEND_RESPONSE_MESSAGE_TEXT
34COMMAND_SUB_STATE_START_IP_STACK
35COMMAND_SUB_STATE_NET_OPT_AUTO_SWITCH_ON
36COMMAND_SUB_STATE_OPEN_GPRS_BEARER
37COMMAND_SUB_STATE_SET_APN
38COMMAND_SUB_STATE_SET_USER_NAME
39COMMAND_SUB_STATE_SET_PASSWORD
40COMMAND_SUB_STATE_START_GPRS_BEARER
41COMMAND_SUB_STATE_GET_LOCAL_ADDRESS
42COMMAND_SUB_STATE_GET_PEER_ADDRESS
43COMMAND_SUB_STATE_CREATE_TCP_SERVER
44COMMAND_SUB_STATE_CLOSE_CLIENT
45COMMAND_SUB_STATE_WISMO_DIRECT_ACCESS
46COMMAND_SUB_STATE_RESTART_CLOSE_ALL_CONNECTIONS
47COMMAND_SUB_STATE_READ_OPERATOR_ID_START
48COMMAND_SUB_STATE_READ_OPERATOR_ID
49COMMAND_SUB_STATE_READ_OPERATOR_NAME_START
50COMMAND_SUB_STATE_GSM_BANDS_GET
51COMMAND_SUB_STATE_GSM_BANDS_SET
52COMMAND_SUB_STATE_RTC
53COMMAND_SUB_STATE_RTC_SAVE

Anchor
Data
Data

Data channel states

Data communication state set.

IDName
0DATA_SUB_STATE_OTHER
1DATA_SUB_STATE_START_DATA_EXCHANGE
2DATA_SUB_STATE_WAIT_FOR_CONNECT
3DATA_SUB_STATE_ECHO_OFF
4DATA_SUB_STATE_SET_URC_TYPES
5DATA_SUB_STATE_CLOSE_START
6DATA_SUB_STATE_PRE_PPP_WAIT
7DATA_SUB_STATE_SEND_PPP
8DATA_SUB_STATE_CLOSE_AT
9DATA_SUB_STATE_DATA_CHANNEL_CLOSED
10DATA_SUB_STATE_CREATE_TCP_CLIENT
11DATA_SUB_STATE_WAIT_FOR_CONNECTION_TO_PEER
12DATA_SUB_STATE_WAIT_FOR_CONNECTION_TO_PEER
13DATA_SUB_STATE_TEST_SIGNAL_QUALITY
14DATA_SUB_STATE_TEST_READ_OPERATOR_NAME
15DATA_SUB_STATE_TEST_SIM_CHECK
16DATA_SUB_STATE_TEST_ASK_NETWORK_REGISTRATION
17DATA_SUB_STATE_TEST_GET_LOCAL_ADDRESS

Anchor
UPG
UPG

UPG error codes

Response codes for firmware upgrade call.

IDName
0UPG_RESP_OK
1UPG_RESP_FINISHED
2UPG_RESP_HTTP_ERROR
3UPG_RESP_TARGET_ERROR
4UPG_RESP_PORT_ERROR
5UPG_RESP_PATH_ERROR
6UPG_RESP_TARGET_HEADER_ERROR
7UPG_RESP_HW_VERSION_ERROR
8UPG_RESP_TIMEOUT_ERROR
9UPG_RESP_FW_MARK_ERROR
10UPG_RESP_CRC_CHECK_ERROR
11UPG_RESP_FW_LENGTH_ERROR
12UPG_RESP_FW_VERSION_ERROR

...