MT2523 API Reference  LinkIt SDK v4
Enums

Overview

Enumerations

enum  atci_status_t {
  ATCI_STATUS_REGISTRATION_FAILURE = -2,
  ATCI_STATUS_ERROR = -1,
  ATCI_STATUS_OK = 0
}
 This enum defines the ATCI status types. More...
 
enum  atci_cmd_mode_t {
  ATCI_CMD_MODE_READ,
  ATCI_CMD_MODE_ACTIVE,
  ATCI_CMD_MODE_EXECUTION,
  ATCI_CMD_MODE_TESTING,
  ATCI_CMD_MODE_INVALID
}
 This enum defines the input CMD mode. More...
 
enum  atci_response_flag_t {
  ATCI_RESPONSE_FLAG_AUTO_APPEND_LF_CR = 0x00000002,
  ATCI_RESPONSE_FLAG_URC_FORMAT = 0x00000010,
  ATCI_RESPONSE_FLAG_QUOTED_WITH_LF_CR = 0x00000020,
  ATCI_RESPONSE_FLAG_APPEND_OK = 0x00000040,
  ATCI_RESPONSE_FLAG_APPEND_ERROR = 0x00000080
}
 This enum defines the bit type of the auto append operation used in response_flag of the atci_response_t structure. More...
 

Enumeration Type Documentation

This enum defines the input CMD mode.

Enumerator
ATCI_CMD_MODE_READ 

Read mode command, such as "AT+CMD?".

ATCI_CMD_MODE_ACTIVE 

Active mode command, such as "AT+CMD".

ATCI_CMD_MODE_EXECUTION 

Execute mode command, such as "AT+CMD=<op>".

ATCI_CMD_MODE_TESTING 

Test mode command, such as "AT+CMD=?".

ATCI_CMD_MODE_INVALID 

The input command doesn't belong to any of the four types.

This enum defines the bit type of the auto append operation used in response_flag of the atci_response_t structure.

Enumerator
ATCI_RESPONSE_FLAG_AUTO_APPEND_LF_CR 

Auto append "\r\n" at the end of the response string.

ATCI_RESPONSE_FLAG_URC_FORMAT 

The URC notification flag.

ATCI_RESPONSE_FLAG_QUOTED_WITH_LF_CR 

Auto append "\r\n" at the begining and end of the response string.

ATCI_RESPONSE_FLAG_APPEND_OK 

Auto append "OK\r\n" at the end of the response string.

ATCI_RESPONSE_FLAG_APPEND_ERROR 

Auto append "ERROR\r\n" at the end of the response string.

This enum defines the ATCI status types.

Enumerator
ATCI_STATUS_REGISTRATION_FAILURE 

Failed to register the AT command handler table.

ATCI_STATUS_ERROR 

An error occurred during the function call.

ATCI_STATUS_OK 

No error occurred during the function call.