66 lines
2.1 KiB
C
66 lines
2.1 KiB
C
#ifndef __ATP_H
|
|
#define __ATP_H
|
|
|
|
/** This result acknowledges successful acceptance of a command. There are
|
|
* no parameters with this command.
|
|
*/
|
|
#define AT_OK 0x0000
|
|
|
|
/** This result indicates that the received command was not accepted. There
|
|
* are no parameters with this command.
|
|
*/
|
|
#define AT_ERROR 0x0001
|
|
|
|
/** This unsolicited result indicates an incoming call signal from network.
|
|
* There are no parameters with this command.
|
|
*/
|
|
#define AT_RING 0x0002
|
|
|
|
/** This result indicates that the received command was not accepted. The
|
|
* "error" parameter is used with this command.
|
|
*/
|
|
#define AT_EXTENDED_ERROR 0x0003
|
|
|
|
/** This command is used to enable or disable extended error reporting. The
|
|
* "error" parameter is used with this command.
|
|
*/
|
|
#define AT_SET_ERROR_MODE 0x0004
|
|
|
|
/** This command informs the mobile equipment of the character set used by
|
|
* the terminal equipment. The "charSet" parameter is used with this
|
|
* command.
|
|
*/
|
|
#define AT_SELECT_CHARACTER_SET 0x0005
|
|
|
|
/** This result indicates that the call could not be established or the
|
|
* connection was terminated. There are no parameters with this command.
|
|
*/
|
|
#define AT_NO_CARRIER 0x0006
|
|
|
|
/** This result indicates that the called party is busy. There are no
|
|
* parameters with this command.
|
|
*/
|
|
#define AT_BUSY 0x0007
|
|
|
|
/** This result indicates connection completion on timeout. There are no
|
|
* parameters with this command.
|
|
*/
|
|
#define AT_NO_ANSWER 0x0008
|
|
|
|
/** This result indicates that calls to the number are temporarily
|
|
* forbidden. There are no parameters with this command.
|
|
*/
|
|
#define AT_DELAYED 0x0009
|
|
|
|
/** This result indicates that calls to the number are forbidden until a
|
|
* manual reset. There are no parameters with this command.
|
|
*/
|
|
#define AT_BLACKLISTED 0x000A
|
|
|
|
/** This indicates that the data will be sent as 'raw' AT data. The
|
|
* "data" parameter is used with this response.
|
|
*/
|
|
#define AT_RAW 0x000B
|
|
|
|
|
|
#endif |