Hello all,
I'm trying to debug my app, and I need more logs informations.
When I read radio buffer logs, I only found factual infos, like RIL_REQUEST_SIM_OPEN_CHANNEL, or RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL. What I need is to know the content of those requests.
I'm already looking in the android source code (around ril.cpp, in platform_hardware_ril), but there is a lot of lines to read :0
Below are some logs, for example:
Thanks in advance for you help, and sorry for my poor english.
I'm trying to debug my app, and I need more logs informations.
When I read radio buffer logs, I only found factual infos, like RIL_REQUEST_SIM_OPEN_CHANNEL, or RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL. What I need is to know the content of those requests.
I'm already looking in the android source code (around ril.cpp, in platform_hardware_ril), but there is a lot of lines to read :0
Below are some logs, for example:
Code:
09-28 16:23:51.890 4369 4380 D GsmSST : getCellLocation(): X good mCellLoc= xxx
09-28 16:23:51.950 4369 4721 D SubscriptionController: getSimStateForSlotIdx: simState=READY ordinal=5
09-28 16:23:51.950 3038 3182 E RILD : BuildResp: Invalid selectlen(0)
09-28 16:23:51.950 4369 4551 D RILJ : [0182]< RIL_REQUEST_SIM_OPEN_CHANNEL [SUB0]
09-28 16:23:51.950 7381 7381 D SubscriptionManager: getSimStateForSlotIdx: simState=5 slotIdx=0
09-28 16:23:51.960 4369 4369 D RILJ : [0187]> RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL [SUB0]
09-28 16:23:51.970 4369 8189 D SubscriptionController: getSimStateForSlotIdx: simState=READY ordinal=5
09-28 16:23:51.970 7381 7381 D SubscriptionManager: getSimStateForSlotIdx: simState=5 slotIdx=0
09-28 16:23:52.010 4369 4380 D SubscriptionController: getSimStateForSlotIdx: simState=READY ordinal=5
09-28 16:23:52.010 7381 7381 D SubscriptionManager: getSimStateForSlotIdx: simState=5 slotIdx=0
09-28 16:23:52.130 4369 4551 D RILJ : [0183]< RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL [SUB0]
09-28 16:23:52.130 4369 4369 D RILJ : [0188]> RIL_REQUEST_SIM_CLOSE_CHANNEL [SUB0]
09-28 16:23:52.280 4369 4551 D RILJ : [0187]< RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL [SUB0]
09-28 16:23:52.280 4369 4369 D RILJ : [0189]> RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL [SUB0]
09-28 16:23:52.290 4369 4551 D RILJ : [0188]< RIL_REQUEST_SIM_CLOSE_CHANNEL [SUB0]
09-28 16:23:52.460 4369 4551 D RILJ : [0189]< RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL [SUB0]
09-28 16:23:52.460 4369 4369 D RILJ : [0190]> RIL_REQUEST_SIM_CLOSE_CHANNEL [SUB0]
09-28 16:23:52.470 4369 4551 D RILJ : [0190]< RIL_REQUEST_SIM_CLOSE_CHANNEL [SUB0]
09-28 16:23:52.480 4369 4369 D RILJ : [0191]> RIL_REQUEST_SIM_OPEN_CHANNEL [SUB0]
09-28 16:23:52.500 3038 4938 E RILD : Failed to select channel(2)
09-28 16:23:52.510 4369 4551 D RilRequest: [0191]< RIL_REQUEST_SIM_OPEN_CHANNEL error: com.android.internal.telephony.CommandException: NO_SUCH_ELEMENT ret=
09-28 16:23:52.510 4369 4369 D UiccCard: Error in SIM access with exceptioncom.android.internal.telephony.CommandException: NO_SUCH_ELEMENT
09-28 16:23:52.510 4369 4369 D RILJ : [0192]> RIL_REQUEST_SIM_OPEN_CHANNEL [SUB0]
09-28 16:23:52.530 3038 3182 E RILD : AidLen is zero so do not select(1)
09-28 16:23:52.530 3038 3182 E RILD : BuildResp: Invalid selectlen(0)
09-28 16:23:52.530 4369 4551 D RILJ : [0192]< RIL_REQUEST_SIM_OPEN_CHANNEL [SUB0]
09-28 16:23:52.530 4369 4369 D RILJ : [0193]> RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL [SUB0]
09-28 16:23:52.550 4369 4551 D RILJ : [0193]< RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL [SUB0]
09-28 16:23:52.550 4369 4369 D RILJ : [0194]> RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL [SUB0]
09-28 16:23:52.560 4369 4551 D RILJ : [0194]< RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL [SUB0]
09-28 16:23:52.570 4369 4369 D RILJ : [0195]> RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL [SUB0]
09-28 16:23:52.580 4369 4551 D RILJ : [0195]< RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL [SUB0]
09-28 16:23:52.580 4369 4369 D RILJ : [0196]> RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL [SUB0]
09-28 16:23:52.600 4369 4551 D RILJ : [0196]< RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL [SUB0]
09-28 16:23:52.600 4369 4369 D RILJ : [0197]> RIL_REQUEST_SIM_CLOSE_CHANNEL [SUB0]
09-28 16:23:52.610 4369 4551 D RILJ : [0197]< RIL_REQUEST_SIM_CLOSE_CHANNEL [SUB0]
09-28 16:23:52.610 4369 4369 D RILJ : [0198]> RIL_REQUEST_SIM_OPEN_CHANNEL [SUB0]
09-28 16:23:52.640 3038 4938 E RILD : Failed to select channel(2)
Thanks in advance for you help, and sorry for my poor english.
Last edited: