|
还是有这种情况,加了打印,但是不知道怎么分析。
一键报警打印:
LogUtils.d("SES",command.szTargetID
+"/"+command.iMethod
+"/"+command.iSubMethod
+"/"+command.iTimeOut
+"/"+command.stMsgContent.iDataCount
+"/"+event_Source.szID
+"/"+event_Source.iEventType
+"/"+event_Source.iSubDevIdx
+"/"+event_Source.iValue
+"/"+event_Source.stTime.iYear
+"/"+event_Source.stTime.iMonth
+"/"+event_Source.stTime.iDay
+"/"+event_Source.stTime.iHour
+"/"+event_Source.stTime.iMinute
+"/"+event_Source.stTime.iSecond);
if (mpu.getmConnection() != null) {
LogUtils.d("SES","send cmd");
mpu.getmConnection().sendCmd(command);
}else {
LogUtils.d("SES","connection is null can't send cmd");
}
异常的:
04-29 12:21:23.512 6314-6314/? D/AIWINN_BASE: [ SOSActivity ] send event source > sos > 4099
04-29 12:21:23.513 6314-6314/? D/AIWINN_BASE: [ SES ] 192.168.102.104/524290/196609/3000/1/PU_20094282/4099/0/0/2019/////
04-29 12:21:23.513 6314-6314/? D/AIWINN_BASE: [ SES ] send cmd
04-29 12:21:23.515 6314-6593/? I/SIP: pMsg->iAction = 3
04-29 12:21:23.516 6314-6593/? I/SIP: file = jni/sip.cpp, Error line = 895,result = -65535
正常的:
04-29 12:23:15.705 16632-16632/? D/AIWINN_BASE: [ SOSActivity ] send event source > sos > 4099
04-29 12:23:15.705 16632-16632/? D/AIWINN_BASE: [ SES ] 192.168.102.104/524290/196609/3000/1/PU_20015070/4099/0/0/2019/////
04-29 12:23:15.706 16632-16632/? D/AIWINN_BASE: [ SES ] send cmd
04-29 12:23:15.710 16632-17415/? I/SIP: pMsg->iAction = 3
04-29 12:23:15.712 16632-17415/? I/SIP: send cmd[196609]
无法主动调起图传打印:
LogUtils.d("SODC",command.szTargetID
+"/"+command.iMethod
+"/"+command.iSubMethod
+"/"+command.iTimeOut
+"/"+command.stMsgContent.iDataCount
+"/"+dialog.szID
+"/"+dialog.iChannelIndex
+"/"+dialog.iStreamIndex
+"/"+dialog.iAVStreamDir
+"/"+dialog.bRecord
+"/"+dialog.iApplierID);
异常的:
04-29 12:21:16.962 6314-6314/? I/AIWINN_BASE: [ SODC ] streamDir : 10
04-29 12:21:16.962 6314-6314/? D/AIWINN_BASE: [ SODC ] 192.168.102.104/2/131084/3000/1/PU_20094282/0/0/10/0/-1
04-29 12:21:16.965 6314-6593/? I/SIP: pMsg->iAction = 3
04-29 12:21:16.965 6314-6593/? I/SIP: BVCSP_SendCmd result[-65535]
04-29 12:21:16.965 6314-6593/? I/SIP: file = jni/sip.cpp, Error line = 922,result = -65535
04-29 12:21:19.357 6314-6314/? I/AIWINN_BASE: [ SODC ] streamDir : 0
04-29 12:21:19.358 6314-6314/? D/AIWINN_BASE: [ SODC ] 192.168.102.104/2/131084/3000/1/PU_20094282/0/0/0/0/-1
04-29 12:21:19.360 6314-6593/? I/SIP: pMsg->iAction = 3
04-29 12:21:19.362 6314-6593/? I/SIP: BVCSP_SendCmd result[-65535]
04-29 12:21:19.362 6314-6593/? I/SIP: file = jni/sip.cpp, Error line = 922,result = -65535
正常的:
04-29 12:23:06.764 16632-16632/? I/AIWINN_BASE: [ SODC ] streamDir : 10
04-29 12:23:06.765 16632-16632/? D/AIWINN_BASE: [ SODC ] 192.168.102.104/2/131084/3000/1/PU_20015070/0/0/10/0/-1
04-29 12:23:06.768 16632-17415/? I/SIP: pMsg->iAction = 3
04-29 12:23:06.769 16632-17415/? I/SIP: BVCSP_SendCmd result[0]
04-29 12:23:06.769 16632-17415/? I/SIP: send cmd[131084]
04-29 12:23:10.390 16632-16632/? I/AIWINN_BASE: [ SODC ] streamDir : 0
04-29 12:23:10.390 16632-16632/? D/AIWINN_BASE: [ SODC ] 192.168.102.104/2/131084/3000/1/PU_20015070/0/0/0/0/-1
04-29 12:23:10.395 16632-17415/? I/SIP: pMsg->iAction = 3
04-29 12:23:10.396 16632-17415/? I/SIP: BVCSP_SendCmd result[0]
04-29 12:23:10.396 16632-17415/? I/SIP: send cmd[131084] |
|