0% found this document useful (0 votes)
66 views4 pages

(0d) (0a) OK (0d) (0a) (0d) (0a) ERROR (0d) (0a) (0d) (0a) INFO (0d) (0a)

This document describes various commands for controlling a modem via serial communication. It outlines status commands for checking modem and SIM status, SMS commands for sending and receiving SMS, FTP parameter setting commands, and FTP transfer commands.

Uploaded by

Padanga
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views4 pages

(0d) (0a) OK (0d) (0a) (0d) (0a) ERROR (0d) (0a) (0d) (0a) INFO (0d) (0a)

This document describes various commands for controlling a modem via serial communication. It outlines status commands for checking modem and SIM status, SMS commands for sending and receiving SMS, FTP parameter setting commands, and FTP transfer commands.

Uploaded by

Padanga
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Note:

 Tiap command diawali $


 Tiap command diakhiri [0d]
 Tiap respond diakhiri
◦ [0d][0a]OK[0d][0a]  Command dikenali
◦ [0d][0a]ERROR[0d][0a]  Command tidak dikenali
◦ [0d][0a]INFO[0d][0a]  Khusus buat command PANIC!
 Escaped berarti menambahkan backslash sebelum karakter yang di-escaped (Exp: ,  \,

COMMAND UMUM

AT
Repond: RzF4 [0d][0a]OK[0d][0a]

PANIC!
Repond: System will be reboot[0d][0a]INFO[0d][0a]

COMMAND STATUS MODEM

Query Modem status


MSTATUS
Repond:
MSTATUS: [Modem status][Sim status][reg status][modem state]OK[0d][0a]OK[0d][0a]
[Modem status]  0 : Modem Error
1 : Modem Ok
[Sim status]  0 : Sim Error
1 : Sim Ok
2 : Sim denied
[Reg status]  0 : Reg Error
1 : Reg Ok
2 : Reg search
3 : Reg roaming
4 : Reg denied
[Modem state]  0 : dle (turn on)
1 : booting
2:
3 : Menunggu registrasi
4 : STANDBY (siap mengirim sms/ftp/gprs)
5 : Error (modem not respond/sim error/reg error)
6 : Sedang mengirim sms
7 : Sedang menerima sms
8 : Sedang FTP/GPRS
COMMAND SMS

Send SMS
MSMS=1,[nomor tujuan],[message]
[message]: \ [0d] harus di-escaped
Repond:
MSMS: OK[0d][0a]OK[0d][0a]  Sms terkirim
MSMS: ERROR[0d][0a]OK[0d][0a]  Sms gagal terkirim
MSMS: BUSY[0d][0a]OK[0d][0a]  Modem busy (booting, dll)
MSMS: SIM_ERROR[0d][0a]OK[0d][0a]  Sim error

Query incoming SMS


MSMS?
Repond:
MSMS: NONE[0d][0a]OK[0d][0a]  Tidak ada sms
MSMS: OK [pengirim],[message] [0d][0a]OK[0d][0a]  Sms baru
jika message mengandung \ [0d] [0a] karakter tersebut akan di-escaped
MSMS: BUSY[0d][0a]OK[0d][0a]  Modem busy (booting, dll)
MSMS: SIM_ERROR[0d][0a]OK[0d][0a]  Sim error
COMMAND SETTING PARAMETER FTP

Set APN
APN1=[Apn]
Query APN
APN1?
[Apn]: Apn
Repond:
APN:[Apn][0d][0a]OK[0d][0a]

Set Ftp server


FTPSVR=[Ftp Server]
Query Ftp server
FTPSVR?
[Ftp Server]: Ftp server
Repond:
FTPSVR:[Ftp Server][0d][0a]OK[0d][0a]

Set Ftp Login


FTPUSR=[Ftp Login]
Query Ftp Login
FTPUSR?
[Ftp Login]: Ftp user name
Repond:
FTPUSR:[Ftp Login][0d][0a]OK[0d][0a]

Set Ftp Password


FTPPWD=[Ftp Password]
Query Ftp Password
FTPPWD?
[Ftp Password]: Ftp password
Repond:
FTPPWD:[Ftp Password][0d][0a]OK[0d][0a]

Set Ftp Path


FTPPATH=[Ftp Path]
Query Ftp Path
FTPPATH?
[Ftp Path]: Ftp path di server
Repond:
FTPPATH:[Ftp Path][0d][0a]OK[0d][0a]
COMMAND FTP

Send Ftp
MFTP2=1,[File Name],[Data]
[File Name]: \ , [0d] harus di-escaped
[Data]: \ , [0d] harus di-escaped
Repond:
MFTP: OK[0d][0a]OK[0d][0a]  FTP terkirim
MFTP: ERROR[0d][0a]OK[0d][0a]  FTP gagal terkirim
MFTP: BUSY[0d][0a]OK[0d][0a]  Modem busy (booting, dll)
MFTP: SIM_ERROR[0d][0a]OK[0d][0a]  Sim error

You might also like