Android datarouter logcat错误消息

所以我得到我的logcat垃圾邮件这个datarouter错误.谁可以帮助我解决这个问题并告诉我它为什么会发生?

哦,我尝试重新启动手机和日食.

编辑:它似乎主要发生在我的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 

解决方法:

这不是正常的错误,实际上它根本不是错误. Android RIL(特别是在三星设备上)呈现其调试日志是(愚蠢的?)方式.您看到的“DataRouter”,曾经被归类为“Debug”,旧版/其他手机/调制解调器中的标签为“AT”.这对开发人员来说确实非常混乱,并不知道这些变化.很可能是因为三星使用他们自己的协议与基带调制解调器进行通信而不是标准的AT集合,这在某个地方被解释…

一个很好的参考是XDA线程:
How to talk to the Modem with AT commands

上一篇:android – 在logcat中监控startActivity


下一篇:android以编程方式清除日志