Specifications
Chapter 5 - AsconMBCommLib
163
Ascon Tecnologic APS2MODEMEGxxx modem. It returns also detailed
information on the possible errors.
Note: For parameter description and meaning, please search for a good reference
document about AT commands by searching the “AT commands for GSM/GPRS
wireless modem” manual from MultiTech Systems.
Default Values Table
Reference Table
Input Default Value
INIT_MODEM FALSE
DTE_SPEED ‘AT+IPR=9600’
DTE_FORMAT ‘AT+ICF=3’
TXT_MODE ‘AT+CMGF=1’
COM_MNGT_1 ‘AT&C1’
COM_MNGT_2 ‘AT&D0’
Output Default value
STATUS
0 = Waiting to start
1 = set DTE speed
2 = set DTE data format
3 = set SMS text mode
4 = set DCD managing mode
5 = set DTR managing mode
6 = ECHO disabling, enabling extended answers and save conf.
7 = waiting for modem confirm
8 = OK, done
Output Description
ERR_CODE.0 Port not configured for the ASCII serial protocol
ERR_CODE.1 Attempt to write a number of bytes that exceeds the allowed limit
ERR_CODE.2 Port not configured for the ASCII serial protocol
ERR_CODE.3 Peripheral driver problems
ERR_CODE.4 Unavailable number of requested bytes in the input buffer
ERR_CODE.5 Number of bytes present in the input buffer less then requested