Giao tiếp Microcontroller + Sim908
2. Một số lệnh AT để Kiểm Tra, Cấu hình cho Sim908:
2.1 Một số lệnh Kiểm Tra:
- Ngay sau khi có phần cứng, các bạn lắm Sim và sử dụng một số lệnh sau để kiểm tra:
[AT Command] //[Description]
AT //Check communication between the module and PC/Microcontroller.
ATD<Caller Phone Number>//Call to phone number. Ex: ATD0988434887;
ATDL//Reial last telephone number.
ATI //Display Product Identification Information. Ex: Return:SIM900 R11.0
AT&V//Display Current Configuration.
AT+GSV//Display Product Identification Information. Ex: SIMCOM_Ltd - SIMCOM_SIM908 - Revision:1137B02SIM908M64_ST
AT+CSQ //Signal Quality Report.Ex: +CSQ: 28,0 (<99 Signal is good)
AT+CPIN? // Check Sim status. Ex: +CPIN: READY
AT+IPR? // Check(Test/Set/Read) Baud rate. Ex: +IPR: 0(Auto_bauding)
AT+CSCA? //SMS Service Center Address. Ex: +CSCA: "+84980200030",145
AT+CMTE? //Read the temperature when the module is running. Ex: +CMTE: 0,38
AT+CGREG? //Network Registration Status. Return: +CREG: 1,1 - Enable Network and Registed.
AT+CGMI// Get manufacturer information. Ex: SIMCOM_Ltd
AT+CGMR// Get software version. Ex: Revision:1137B02SIM908M64_ST
AT+CGSN //Get device IMEI. 861001000034104
AT+COPS? // Display the current network operation: +COPS: 0,0,"VNM and VIETTEL"
Và còn rất nhiều lệnh khác nũa, các bạn xem them trong AT Command cho Sim908.
__________________
--------------------------------------------------------------------------------------
Phùng Minh Tuân
Email: tuan.phmt@gmail.com
"Cuộc đời sóng gió nuôi ta lớn
Bao lần thất bại dạy ta khôn".
thay đổi nội dung bởi: longtu, 03-06-2012 lúc 03:23 PM.
|