AT COMMAND

本文介绍了如何通过 Android SDK 工具获取虚拟设备上 3G 模块发出的 AT 命令日志。具体步骤包括使用 emulator 和 ddms 工具启动并导出日志,对于不支持 ddms 的 SDK 版本,也可通过命令行方式获取日志。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

I found an emulator log of AT commands issued by Android to 3G module (well, for now it's a virtual device).

The log file can be created by following procedure.
$ cd /your/android/sdk//tools
$ ./emulator &
(wait for booting emulator up)
$ ./ddms
In the ddms menu, click [Device] , then [Dump device state] . AT commands can be found in RADIO LOG section. I only checked Linux version of SDK. If other SDK doesn't have ddms, alternatively the log can be dumped by command line.
$ ./adb shell /system/bin/dumpstate
$ ./adb pull /tmp/state state.txt
Most of the AT commands match 3GPP specification. Some SMS related commands seem to be GSM based. 3GPP specification is available at a following page.

o 3GPP TS 27.007 AT command set for User Equipment (UE)

Initialization and PPP
+CMEE=1
+CGREG=2
+CCWA=1
+CMOD=0
+CMUT=0
+CSSN=0,1
+COLP=0
+CSCS="HEX"
+CUSD=1
+CGEREP=1,0
+CMGF=0
+CFUN?
+CPIN?
+CNMI?
+CSMS=1
+CNMI=1,2,2,1
+CGSN
+COPS=3,0; +COPS=3,1; +COPS=3,2; +COPS?
+CGREG?
+CREG?
+CSQ
+CIMI
+CRSM=
+CGDCONT=1,"IP","internet",,0,0
+CGQREQ=1
+CGQMIN=1
+CGEREP=1,0
+CGACT=1,0
D*99***1#
Outgoing Voice Call
D
+CLCC
+CSQ
+CHLD=1
Incoming Call
RING
+CLCC
A
+CSQ
+CHLD=1

Cheers,

 

 原文地址 http://blog.seesaa.jp/tb/10213404

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值