STM32 AT基本命令集:
------------------------------------------------------------------
const romchar AT_AT[] = {"AT\r\n"};
const romchar AT_CBC[] ={"AT+CBC\r\n"}; //检查充电状态,以及电池电量占容量的百分比+CBC: 0,97,4164
const romchar AT_CREG[] = {"AT+CREG?\r\n"}; //查询网络注册状态
const romchar AT_CREGINIT[] = {"AT+CREG=1\r\n"}; //初始化网络注册状态
const romchar AT_ATE[] = {"ATE0\r\n"}; //存储当前的设置参数
const romchar AT_Save[] = {"AT&W\r\n"}; //存储当前的参数
/* 0 disable slow clock 1 enable slow clock */
const romchar AT_CSCLK[] = {"AT+CSCLK=1\r\n"}; //enable slow clock
/* 0 minimum functionality 1 full functionality (Default) 4 disable phone both transmit and receive RF circuits */
const romchar AT_CFUN[] = {"AT+CFUN=1\r\n"}; //使模块在重启后电源进入功能性的电平
const romchar AT_CGMR[] = {"AT+CGMR\r\n"}; //软件版本标识
const romchar AT_CCID[] = {"AT+CCID\r\n"}; //获得SIM卡标识
const romchar AT_CGSN[]={"AT+CGSN\r\n"}; //IMEI
const romchar AT_CSQ[]={"AT+CSQ\r\n"}; //信号强度
const romchar AT_CSMINS[]={"AT+CSMINS?\r\n"}; //检测SIM卡是否插入+CSMINS: 0,1
const romchar AT_COPS[]={"AT+COPS?\r\n"};
const romchar AT_CPOL[]={"AT+CPOL?\r\n"};
const romchar AT_REG_COPS[]={"AT+CPOL=1,2,\""};
******************************************************************************
|