none
Wince6.0 + RIL 環境下 PPP-based GPRS 的實現 RRS feed

  • 問題

  • 各位網友你好:
    我有一個 PPP-based GPRS 在 wince6.0 + RIL 環境下的問題,目前我新建立一
    於控制台新建一 GPRS 連線 , modem Combo box 選為 Cellular Line ,
    下面是我打開的 debug message (RIL + RIL PROXY + celltsp 的 debug message),看起 GPRS 是有
    連通的,但卡在最後

    CellTSP : E : TSPI_lineGetID : RIL_GetSerialPortHandle error=0x80004005
    CellTSP: E : TSPI_lineGetID : Return=LINEERR_OPERATIONFAILED

    不知是什麼原因,各位網友,可否幫忙一下,
    Thanks

     

    RILDrv : t : CRilHandle::GetAPIInfo : Info for API 47: exec time: 35 msec, timeo
    ut: 10000 msec
    RILDrv : t : Queueing command with ID: 0x0000004b
    RILProxy : C : GETBEARERSERVICEOPTIONS - ID: 75
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd4423220
    (0x0000004b)
    RILDrv : t : Executing command with ID: 0x0000004b
    RilDrv: Sending cmd: AT+CBST?<cr>
    RilDrv: Accumulated response: <cr><lf>+CBST:
    RilDrv: Accumulated response: <cr><lf>+CBST: 7,0,1<cr><lf>0<cr>
    [rcbNewLength]in ParseOKOrError=18
    RILProxy : R : GETBEARERSERVICEOPTIONS - ID: 75, Result: OK
    RILProxy : R : GETBEARERSERVICEOPTIONS - SPEED_9600_V32, BSVCNAME_DATACIRCUIT_AS
    YNC_UDI_MODEM, BSVCCE_NONTRANSPARENT
    RILDrv : t : CRilHandle::GetAPIInfo : Info for API 43: exec time: 25 msec, timeo
    ut: 10000 msec
    RILDrv : t : Queueing command with ID: 0x0000004c
    RILProxy : C : GETDATACOMPRESSION - ID: 76
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd4423220
    (0x0000004c)
    RILDrv : t : Executing command with ID: 0x0000004c
    RilDrv: Sending cmd: AT+DS?<cr>
    RilDrv: Accumulated response: <cr><lf>+DS: 3
    RilDrv: Accumulated response: <cr><lf>+DS: 3,0,512,20<cr><lf>0<cr>
    [rcbNewLength]in ParseOKOrError=21
    RILProxy : R : GETDATACOMPRESSION - ID: 76, Result: OK
    RILProxy : R : GETDATACOMPRESSION - DATACOMPDIR_BOTH, DATACOMP_OPTIONAL, MaxDict
    Entries = 512, MaxStringLength = 20
    RILDrv : t : CRilHandle::GetAPIInfo : Info for API 49: exec time: 36 msec, timeo
    ut: 10000 msec
    RILDrv : t : Queueing command with ID: 0x0000004d
    RILProxy : C : GETRLPOPTIONS - ID: 77
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd4423220
    (0x0000004d)
    RILDrv : t : Executing command with ID: 0x0000004d
    RilDrv: Sending cmd: AT+CRLP?<cr>
    RilDrv: Accumulated response: <cr><lf>+CRLP:
    RilDrv: Accumulated response: <cr><lf>+CRLP: 61,61,128,6,0,3<cr><lf>0<cr>
    [rcbNewLength]in ParseOKOrError=28
    RILProxy : R : GETRLPOPTIONS - ID: 77, Result: OK
    RILProxy : R : GETRLPOPTIONS - IWS = 61, MWS = 61, AckTimer = 1280 ms, Retransmi
    ssionAttempts = 6, Version = 0, ResequencingPeriod = 3
    CellTSP : E : RIL_GetRLPOptionsSync : Incorrect Data, Datasize=0x00000020, *pdwR
    esultCode=0x00000001, pstrriInfo->pData=0xd45d8e00
    RILDrv : E : RILDrv_GetGPRSContextList
    RILDrv : t : CRilHandle::GetAPIInfo : Info for API 100: exec time: 25 msec, time
    out: 10000 msec
    RILDrv : t : Queueing command with ID: 0x0000004e
    RILProxy : C : GETGPRSCONTEXTLIST - ID: 78
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd4423220
    (0x0000004e)
    RILDrv : t : Executing command with ID: 0x0000004e
    RilDrv: Sending cmd: AT+CGDCONT?<cr>
    RilDrv: Accumulated response: 0<cr>
    Enter[ParseOKorError]1
    [rcbNewLength]in ParseOKOrError=2
    RILProxy : R : GETGPRSCONTEXTLIST - ID: 78, Result: OK
    RILDrv : t : CRilHandle::GetAPIInfo : Info for API 47: exec time: 35 msec, timeo
    ut: 10000 msec
    RILDrv : t : Queueing command with ID: 0x0000004f
    RILProxy : C : GETBEARERSERVICEOPTIONS - ID: 79
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd4423220
    (0x0000004f)
    RILDrv : t : Executing command with ID: 0x0000004f
    RilDrv: Sending cmd: AT+CBST?<cr>
    RilDrv: Accumulated response: <cr><lf>+CBST:
    RilDrv: Accumulated response: <cr><lf>+CBST: 7,0,1<cr><lf>0<cr>
    [rcbNewLength]in ParseOKOrError=18
    RILProxy : R : GETBEARERSERVICEOPTIONS - ID: 79, Result: OK
    RILProxy : R : GETBEARERSERVICEOPTIONS - SPEED_9600_V32, BSVCNAME_DATACIRCUIT_AS
    YNC_UDI_MODEM, BSVCCE_NONTRANSPARENT
    RILDrv : t : CRilHandle::GetAPIInfo : Info for API 43: exec time: 25 msec, timeo
    ut: 10000 msec
    RILDrv : t : Queueing command with ID: 0x00000050
    RILProxy : C : GETDATACOMPRESSION - ID: 80
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd4423220
    (0x00000050)
    RILDrv : t : Executing command with ID: 0x00000050
    RilDrv: Sending cmd: AT+DS?<cr>
    RilDrv: Accumulated response: <cr><lf>+DS: 3
    RilDrv: Accumulated response: <cr><lf>+DS: 3,0,512,20<cr><lf>0<cr>
    [rcbNewLength]in ParseOKOrError=21
    RILProxy : R : GETDATACOMPRESSION - ID: 80, Result: OK
    RILProxy : R : GETDATACOMPRESSION - DATACOMPDIR_BOTH, DATACOMP_OPTIONAL, MaxDict
    Entries = 512, MaxStringLength = 20
    RILDrv : t : CRilHandle::GetAPIInfo : Info for API 49: exec time: 36 msec, timeo
    ut: 10000 msec
    RILDrv : t : Queueing command with ID: 0x00000051
    RILProxy : C : GETRLPOPTIONS - ID: 81
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd4423220
    (0x00000051)
    RILDrv : t : Executing command with ID: 0x00000051
    RilDrv: Sending cmd: AT+CRLP?<cr>
    RilDrv: Accumulated response: <cr><lf>+CRLP:
    RilDrv: Accumulated response: <cr><lf>+CRLP: 61,61,128,6,0,3<cr><lf>0<cr>
    [rcbNewLength]in ParseOKOrError=28
    RILProxy : R : GETRLPOPTIONS - ID: 81, Result: OK
    RILProxy : R : GETRLPOPTIONS - IWS = 61, MWS = 61, AckTimer = 1280 ms, Retransmi
    ssionAttempts = 6, Version = 0, ResequencingPeriod = 3
    CellTSP : E : RIL_GetRLPOptionsSync : Incorrect Data, Datasize=0x00000020, *pdwR
    esultCode=0x00000001, pstrriInfo->pData=0xd45d8e00
    RILDrv : E : RILDrv_GetGPRSContextList
    RILDrv : t : CRilHandle::GetAPIInfo : Info for API 100: exec time: 25 msec, time
    out: 10000 msec
    RILDrv : t : Queueing command with ID: 0x00000052
    RILProxy : C : GETGPRSCONTEXTLIST - ID: 82
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd4423220
    (0x00000052)
    RILDrv : t : Executing command with ID: 0x00000052
    RilDrv: Sending cmd: AT+CGDCONT?<cr>
    RilDrv: Accumulated response: 0<cr>
    Enter[ParseOKorError]1
    [rcbNewLength]in ParseOKOrError=2
    RILProxy : R : GETGPRSCONTEXTLIST - ID: 82, Result: OK
    RILDrv : t : CRilHandle::GetAPIInfo : Info for API 48: exec time: 317 msec, time
    out: 10000 msec
    RILDrv : t : Queueing command with ID: 0x00000053
    RILProxy : C : SETBEARERSERVICEOPTIONS - ID: 83, SPEED_9600_V32, BSVCNAME_DATACI
    RCUIT_ASYNC_UDI_MODEM, BSVCCE_NONTRANSPARENT
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd4423220
    (0x00000053)
    RILDrv : t : Executing command with ID: 0x00000053
    RilDrv: Sending cmd: AT+CBST=7,0,1<cr>
    RilDrv: Accumulated response: 0<cr>
    Enter[ParseOKorError]1
    [rcbNewLength]in ParseOKOrError=2
    RILProxy : R : SETBEARERSERVICEOPTIONS - ID: 83, Result: OK
    CellTSP: DEBUGCHK failed in file C:\ymzki\private\cellcore\comm\celltsp\.\ctsp_u
    tility.cpp at line 5185
    RILDrv : t : CRilHandle::GetAPIInfo : Info for API 44: exec time: 25 msec, timeo
    ut: 10000 msec
    RILDrv : t : Queueing command with ID: 0x00000054
    RILProxy : C : SETDATACOMPRESSION - ID: 84, DATACOMPDIR_BOTH, DATACOMP_OPTIONAL,
     MaxDictEntries = 512, MaxStringLength = 20
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd4423220
    (0x00000054)
    RILDrv : t : Executing command with ID: 0x00000054
    RilDrv: Sending cmd: AT+DS=3,0,512,20<cr>
    RilDrv: Accumulated response: 0<cr>
    Enter[ParseOKorError]1
    [rcbNewLength]in ParseOKOrError=2
    RILProxy : R : SETDATACOMPRESSION - ID: 84, Result: OK
    CellTSP : i : CallManager::CreateNewCall : htCall=0xd4396440 has CALL_ID 0x00000
    001
    RILDrv : t : CRilHandle::GetAPIInfo : Info for API 48: exec time: 317 msec, time
    out: 10000 msec
    RILDrv : t : Queueing command with ID: 0x00000055
    RILProxy : C : SETBEARERSERVICEOPTIONS - ID: 85, SPEED_9600_V32, BSVCNAME_DATACI
    RCUIT_ASYNC_UDI_MODEM, BSVCCE_NONTRANSPARENT
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd4423220
    (0x00000055)
    RILDrv : t : Executing command with ID: 0x00000055
    RilDrv: Sending cmd: AT+CBST=7,0,1<cr>
    RilDrv: Accumulated response: 0<cr>
    Enter[ParseOKorError]1
    [rcbNewLength]in ParseOKOrError=2
    RILProxy : R : SETBEARERSERVICEOPTIONS - ID: 85, Result: OK
    CellTSP: DEBUGCHK failed in file C:\ymzki\private\cellcore\comm\celltsp\.\ctsp_u
    tility.cpp at line 5185
    RILDrv : t : CRilHandle::GetAPIInfo : Info for API 44: exec time: 25 msec, timeo
    ut: 10000 msec
    RILDrv : t : Queueing command with ID: 0x00000056
    RILProxy : C : SETDATACOMPRESSION - ID: 86, DATACOMPDIR_BOTH, DATACOMP_OPTIONAL,
     MaxDictEntries = 512, MaxStringLength = 20
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd4423220
    (0x00000056)
    RILDrv : t : Executing command with ID: 0x00000056
    RilDrv: Sending cmd: AT+DS=3,0,512,20<cr>
    RilDrv: Accumulated response: 0<cr>
    Enter[ParseOKorError]1
    [rcbNewLength]in ParseOKOrError=2
    RILProxy : R : SETDATACOMPRESSION - ID: 86, Result: OK
    CellTSP : i : CallRIL_Dial : Dialing "T*99#" for (LINEMEDIAMODE_DATAMODEM) call.
    ..
    RILDrv : t : CRilHandle::GetAPIInfo : Info for API 25: exec time: 25 msec, timeo
    ut: 90000 msec
    RILDrv : t : Queueing command with ID: 0x00000057
    RILProxy : C : DIAL - ID: 87, Address = "T*99#", Type = CALLTYPE_DATA, Options =
     NONE
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd4423220
    (0x00000057)
    RILDrv : t : Executing command with ID: 0x00000057
    RilDrv: Sending cmd: ATDT*99#<cr>
    RilDrv: Accumulated response: <cr><lf>1<cr><lf>
    RILDrv : t : CRilHandle::BroadcastNotification : Broadcasting notification 0x100
    02
    RILDrv : i : CRilHandle::ResponseThread : Waiting for command mode
    RILDrv : i : CRilHandle::ResponseThread : Done waiting for command mode
    RilDrv: Accumulated response: 1<cr>~}#?}!}!} }<}!}$}&@}#}$?}%}&},<e扐"}&} } }
     } }'}"}(}"~~~
    RILDrv : i : Failed to find <cr><lf> at end of response
    RILProxy : N : CONNECT - CALLTYPE_DATA
    RILProxy : N : CONNECT - CALLTYPE_DATA
    RILProxy : R : DIAL - ID: 87, Result: OK
    CellTSP : i : TSPI_lineMakeCall_ASYNC : Success
    RILProxy : E : GETSERIALPORTHANDLE - (Return) Function Result = E_FAIL
    CellTSP : E : TSPI_lineGetID : RIL_GetSerialPortHandle error=0x80004005
    CellTSP: E : TSPI_lineGetID : Return=LINEERR_OPERATIONFAILED
    RilDrv: Accumulated response: 1<cr>~}#?}!}!} }<}!}$}&@}#}$?}%}&},<e扐"}&} } }
     } }'}"}(}"~~~~}#?}!
    RILDrv : i : Failed to find <cr><lf> at end of response
    RilDrv: Accumulated response: 1<cr>~}#?}!}!} }<}!}$}&@}#}$?}%}&},<e扐"}&} } }
     } }'}"}(}"~~~~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"Z]~
    RILDrv : i : Failed to find <cr><lf> at end of response
    RilDrv: Accumulated response: 1<cr>~}#?}!}!} }<}!}$}&@}#}$?}%}&},<e扐"}&} } }
     } }'}"}(}"~~~~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"Z]~~}#?
    !}!}
    RILDrv : i : Failed to find <cr><lf> at end of response
    RilDrv: Accumulated response: 1<cr>~}#?}!}!} }<}!}$}&@}#}$?}%}&},<e扐"}&} } }
     } }'}"}(}"~~~~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"Z]~~}#?
    !}!}#} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"}2}/~
    RILDrv : i : Failed to find <cr><lf> at end of response
    RilDrv: Accumulated response: 1<cr>~}#?}!}!} }<}!}$}&@}#}$?}%}&},<e扐"}&} } }
     } }'}"}(}"~~~~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"Z]~~}#?
    !}!}#} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"}2}/~~}#?}!}
    RILDrv : i : Failed to find <cr><lf> at end of response
    RilDrv: Accumulated response: 1<cr>~}#?}!}!} }<}!}$}&@}#}$?}%}&},<e扐"}&} } }
     } }'}"}(}"~~~~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"Z]~~}#?
    !}!}#} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"}2}/~~}#?}!}$} }<}!}$}&@}#}
    $?}%}&},<e扐"}&} } } } }'}"}(}"~
    RILDrv : i : Failed to find <cr><lf> at end of response
    RilDrv: Accumulated response: 1<cr>~}#?}!}!} }<}!}$}&@}#}$?}%}&},<e扐"}&} } }
     } }'}"}(}"~~~~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"Z]~~}#?
    !}!}#} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"}2}/~~}#?}!}$} }<}!}$}&@}#}
    $?}%}&},<e扐"}&} } } } }'}"}(}"~~}#?
    RILDrv : i : Failed to find <cr><lf> at end of response
    RilDrv: Accumulated response: 1<cr>~}#?}!}!} }<}!}$}&@}#}$?}%}&},<e扐"}&} } }
     } }'}"}(}"~~~~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"Z]~~}#?
    !}!}#} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"}2}/~~}#?}!}$} }<}!}$}&@}#}
    $?}%}&},<e扐"}&} } } } }'}"}(}"~~}#?
    RILDrv : i : Failed to find <cr><lf> at end of response
    RilDrv: Accumulated response: 1<cr>~}#?}!}!} }<}!}$}&@}#}$?}%}&},<e扐"}&} } }
     } }'}"}(}"~~~~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"Z]~~}#?
    !}!}#} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"}2}/~~}#?}!}$} }<}!}$}&@}#}
    $?}%}&},<e扐"}&} } } } }'}"}(}"~~}#?
    RILDrv : i : Failed to find <cr><lf> at end of response
    RilDrv: Accumulated response: 1<cr>~}#?}!}!} }<}!}$}&@}#}$?}%}&},<e扐"}&} } }
     } }'}"}(}"~~~~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"Z]~~}#?
    !}!}#} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"}2}/~~}#?}!}$} }<}!}$}&@}#}
    $?}%}&},<e扐"}&} } } } }'}"}(}"~~}#?
    RILDrv : i : Failed to find <cr><lf> at end of response

    2008年10月20日 上午 07:54

所有回覆

  •  

    應該是底層的 RILDRV 有問題 

    Call CellTSP  -> RILProxy  -> RILDRV 建議你查一下 AT Command Sequence

    或是跟提供 RILDRV的 Module vendor 問問比較快

    2008年10月20日 下午 12:18