locked
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日 7:51