所以我的 logcat 被这个 datarouter 错误发送了垃圾邮件。任何人都可以帮助我解决这个问题并告诉我为什么会发生这种情况?
哦,我尝试过重新启动手机和 eclipse。
编辑:这似乎主要发生在我的 Mac 工作计算机上。
以下是每 30 秒发送一次的完整垃圾邮件日志:
11-23 14:25:46.917: E/DataRouter(82): After the usb select
11-23 14:25:46.917: E/DataRouter(82): Before checking the modem suspend state
11-23 14:25:46.917: E/DataRouter(82): PDP is resumed now
11-23 14:25:46.917: E/DataRouter(82): After checking the modem suspend state
11-23 14:25:46.917: E/DataRouter(82): Path set is DATA_PATH_CHAR_MODEM
11-23 14:25:46.917: E/DataRouter(82): Send [1] bytes to SMD. message:A
11-23 14:25:46.917: E/DataRouter(82): Sending data to SMD: Len = [1]
11-23 14:25:46.917: E/DataRouter(82): buffer = [A]
11-23 14:25:46.917: E/DataRouter(82): Wrote 1 chars to EXTERNAL PORT fd=12 ch = 41
11-23 14:25:46.917: E/DataRouter(82): Before the usb select
11-23 14:25:46.929: E/DataRouter(82): After the usb select
11-23 14:25:46.929: E/DataRouter(82): Before checking the modem suspend state
11-23 14:25:46.929: E/DataRouter(82): PDP is resumed now
11-23 14:25:46.929: E/DataRouter(82): After checking the modem suspend state
11-23 14:25:46.929: E/DataRouter(82): Path set is DATA_PATH_CHAR_MODEM
11-23 14:25:46.929: E/DataRouter(82): Send [1] bytes to SMD. message:T
11-23 14:25:46.929: E/DataRouter(82): Sending data to SMD: Len = [1]
11-23 14:25:46.929: E/DataRouter(82): buffer = [T]
11-23 14:25:46.929: E/DataRouter(82): Wrote 1 chars to EXTERNAL PORT fd=12 ch = 54
11-23 14:25:46.929: E/DataRouter(82): Before the usb select
11-23 14:25:46.929: E/DataRouter(82): After the Modem Read select
11-23 14:25:46.929: E/DataRouter(82): Read 1 chars from SMD Modem file fd = 12
11-23 14:25:46.929: E/DataRouter(82): buf = A
11-23 14:25:46.929: E/DataRouter(82): Wrote 1 chars to USB PORT fd=29
11-23 14:25:46.929: E/DataRouter(82): buf=A
11-23 14:25:46.929: E/DataRouter(82): Before the Modem Read select
11-23 14:25:46.941: E/DataRouter(82): After the usb select
11-23 14:25:46.941: E/DataRouter(82): Before checking the modem suspend state
11-23 14:25:46.941: E/DataRouter(82): PDP is resumed now
11-23 14:25:46.941: E/DataRouter(82): After checking the modem suspend state
11-23 14:25:46.941: E/DataRouter(82): Path set is DATA_PATH_CHAR_MODEM
11-23 14:25:46.941: E/DataRouter(82): Send [1] bytes to SMD. message:
11-23 14:25:46.941: E/DataRouter(82): Sending data to SMD: Len = [1]
11-23 14:25:46.941: E/DataRouter(82): buffer = [
]
11-23 14:25:46.941: E/DataRouter(82): Wrote 1 chars to EXTERNAL PORT fd=12 ch = d
11-23 14:25:46.941: E/DataRouter(82): Before the usb select
11-23 14:25:46.949: E/DataRouter(82): After the Modem Read select
11-23 14:25:46.949: E/DataRouter(82): Read 8 chars from SMD Modem file fd = 12
11-23 14:25:46.949: E/DataRouter(82): buf = T
11-23 14:25:46.949: E/DataRouter(82): OK
11-23 14:25:46.949: E/DataRouter(82): Wrote 8 chars to USB PORT fd=29
11-23 14:25:46.949: E/DataRouter(82): buf=T
11-23 14:25:46.949: E/DataRouter(82): OK
11-23 14:25:46.949: E/DataRouter(82): Before the Modem Read select
11-23 14:25:46.953: E/DataRouter(82): After the usb select
11-23 14:25:46.953: E/DataRouter(82): Before checking the modem suspend state
11-23 14:25:46.953: E/DataRouter(82): PDP is resumed now
11-23 14:25:46.953: E/DataRouter(82): After checking the modem suspend state
11-23 14:25:46.953: E/DataRouter(82): Got command as string
11-23 14:25:46.953: E/DataRouter(82): last char is 13
11-23 14:25:46.953: E/DataRouter(82): last second char is 73
11-23 14:25:46.953: E/DataRouter(82): IsDeviceManagerCmd buffer in usb = AT+CGMI
11-23 14:25:46.953: E/DataRouter(82): Data Path Found is DATA_PATH_SMD
11-23 14:25:46.953: E/DataRouter(82): Path set is DATA_PATH_SMD
11-23 14:25:46.953: E/DataRouter(82): Send [8] bytes to SMD. message:AT+CGMI
11-23 14:25:46.953: E/DataRouter(82): Sending data to SMD: Len = [8]
11-23 14:25:46.953: E/DataRouter(82): buffer = [AT+CGMI
]
11-23 14:25:46.953: E/DataRouter(82): Wrote 8 chars to EXTERNAL PORT fd=12 ch = 41
11-23 14:25:46.953: E/DataRouter(82): Before the usb select
11-23 14:25:46.957: E/DataRouter(82): After the Modem Read select
11-23 14:25:46.957: E/DataRouter(82): Read 8 chars from SMD Modem file fd = 12
11-23 14:25:46.957: E/DataRouter(82): buf = AT+CGMI
11-23 14:25:46.957: E/DataRouter(82): Wrote 8 chars to USB PORT fd=29
11-23 14:25:46.957: E/DataRouter(82): buf=AT+CGMI
11-23 14:25:46.957: E/DataRouter(82): Before the Modem Read select
11-23 14:25:46.960: E/DataRouter(82): After the Modem Read select
11-23 14:25:46.960: E/DataRouter(82): Read 11 chars from SMD Modem file fd = 12
11-23 14:25:46.960: E/DataRouter(82): buf =
11-23 14:25:46.960: E/DataRouter(82): SAMSUNG
11-23 14:25:46.960: E/DataRouter(82): Wrote 11 chars to USB PORT fd=29
11-23 14:25:46.960: E/DataRouter(82): buf=
11-23 14:25:46.960: E/DataRouter(82): SAMSUNG
11-23 14:25:46.960: E/DataRouter(82): Before the Modem Read select
11-23 14:25:46.960: E/DataRouter(82): After the Modem Read select
11-23 14:25:46.960: E/DataRouter(82): Read 6 chars from SMD Modem file fd = 12
11-23 14:25:46.960: E/DataRouter(82): buf =
11-23 14:25:46.960: E/DataRouter(82): OK
11-23 14:25:46.960: E/DataRouter(82): Wrote 6 chars to USB PORT fd=29
11-23 14:25:46.960: E/DataRouter(82): buf=
11-23 14:25:46.960: E/DataRouter(82): OK
11-23 14:25:46.960: E/DataRouter(82): Before the Modem Read select
11-23 14:25:46.964: E/DataRouter(82): After the usb select
11-23 14:25:46.964: E/DataRouter(82): Before checking the modem suspend state
11-23 14:25:46.964: E/DataRouter(82): PDP is resumed now
11-23 14:25:46.964: E/DataRouter(82): After checking the modem suspend state
11-23 14:25:46.964: E/DataRouter(82): Got command as string
11-23 14:25:46.964: E/DataRouter(82): last char is 13
11-23 14:25:46.964: E/DataRouter(82): last second char is 77
11-23 14:25:46.964: E/DataRouter(82): IsDeviceManagerCmd buffer in usb = AT+CGMM
11-23 14:25:46.964: E/DataRouter(82): Data Path Found is DEVICE MANAGER
11-23 14:25:46.964: E/DataRouter(82): Path set is DATA_PATH_DR_DEVICE_MANAGER
11-23 14:25:46.964: E/DataRouter(82): Message:AT+CGMM
11-23 14:25:46.964: E/DataRouter(82): processing AT command of length 8
11-23 14:25:46.964: E/DataRouter(82): -------- buffer is =AT+CGMM
11-23 14:25:46.964: E/DataRouter(82): CGMM Request
11-23 14:25:46.964: E/DataRouter(82): [ro.product.model]: [GT-I9000]
11-23 14:25:46.964: E/DataRouter(82): write [16] bytes of data to USB fd[29]
11-23 14:25:46.964: E/DataRouter(82): write [6] bytes of data to USB fd[29]
11-23 14:25:46.964: E/DataRouter(82): Before the usb select
这不是一个正常的错误,事实上它是not根本就是一个错误。这是 Android RIL(特别是在三星设备上)显示其调试日志的(愚蠢?)方式。这 ”数据路由器您看到的,过去在旧/其他手机/调制解调器中被分类为“调试”并带有“AT”标签。这确实让开发人员感到非常困惑,因为他们不知道这些变化。很可能是因为三星使用自己的协议来与基带调制解调器通信,而不是与标准 AT 集通信,标准 AT 集在传输过程中的某个地方被解释...
XDA 线程是一个很好的参考:
”如何使用 AT 命令与 Modem 通信 http://forum.xda-developers.com/showthread.php?t=1471241"
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)