none
Wince6.0 RIL+MUX driver,GPRS connection Hangup RRS feed

  • 问题

  • Base on wince6.0 RIL + Multiplexer driver,I have project porting a GPRS connection ,
    but when I try to create a GPRS connection through choicing the Cellular Line option in the
    Select modem Combo box ,and push the "Connect" button ,and it seems to gprs reaching to
    connection ,but finally the line disconnect ,and I don't why ?

    the following is debug message:

    by the way ,
    after searching document in the internet related GPRS porting on Wince6.0 RIL + MUX ,
    whether the issue caused by the following debug message or not ?

    CellTSP : E : RIL_GetRLPOptionsSync : Incorrect Data, Datasize=0x00000020, *pdwR
    esultCode=0x00000001, pstrriInfo->pData=0xd4896f20
    RILDrv : E : RILDrv_GetGPRSContextList

    Best Regards

     

     


    RILDrv : t : CRilHandle::GetAPIInfo : Info for API 47: exec time: 35 msec, timeo
    ut: 10000 msec
    RILDrv : t : Queueing command with ID: 0x0000001b
    RILProxy : C : GETBEARERSERVICEOPTIONS - ID: 27
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd442a160
    (0x0000001b)
    RILDrv : t : Executing command with ID: 0x0000001b
    RilDrv: Sending cmd: AT+CBST?<cr>
    710MUX: Chnl COM7:: -> send UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: <cr><lf>+CBST: 7,0,1<cr><lf>0<cr>
    [rcbNewLength]in ParseOKOrError=18
    RILProxy : R : GETBEARERSERVICEOPTIONS - ID: 27, 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: 0x0000001c
    RILProxy : C : GETDATACOMPRESSION - ID: 28
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd442a160
    (0x0000001c)
    RILDrv : t : Executing command with ID: 0x0000001c
    RilDrv: Sending cmd: AT+DS?<cr>
    710MUX: Chnl COM7:: -> send UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: <cr><lf>+DS: 3,0,512,20<cr><lf>0<cr>
    RILProxy : R : GETDATACOMPRESSION - ID: 28, 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: 0x0000001d
    RILProxy : C : GETRLPOPTIONS - ID: 29
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd442a160
    (0x0000001d)
    RILDrv : t : Executing command with ID: 0x0000001d
    RilDrv: Sending cmd: AT+CRLP?<cr>
    710MUX: Chnl COM7:: -> send UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: <cr><lf>+CRLP: 61,61,128,6,0,3<cr><lf>0<cr>
    ILProxy : R : GETRLPOPTIONS - ID: 29, 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=0xd4896f20
    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: 0x0000001e
    RILProxy : C : GETGPRSCONTEXTLIST - ID: 30
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd442a160
    (0x0000001e)
    RILDrv : t : Executing command with ID: 0x0000001e
    RilDrv: Sending cmd: AT+CGDCONT?<cr>
    710MUX: Chnl COM7:: -> send UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: 0<cr>
    RILProxy : R : GETGPRSCONTEXTLIST - ID: 30, Result: OK
    RILDrv : t : CRilHandle::GetAPIInfo : Info for API 47: exec time: 35 msec, timeo
    ut: 10000 msec
    RILDrv : t : Queueing command with ID: 0x0000001f
    RILProxy : C : GETBEARERSERVICEOPTIONS - ID: 31
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd442a160
    (0x0000001f)
    RILDrv : t : Executing command with ID: 0x0000001f
    RilDrv: Sending cmd: AT+CBST?<cr>
    710MUX: Chnl COM7:: -> send UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: <cr><lf>+CBST: 7,0,1<cr><lf>0<cr>
    RILProxy : R : GETBEARERSERVICEOPTIONS - ID: 31, 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: 0x00000020
    RILProxy : C : GETDATACOMPRESSION - ID: 32
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd442a160
    (0x00000020)
    RILDrv : t : Executing command with ID: 0x00000020
    RilDrv: Sending cmd: AT+DS?<cr>
    710MUX: Chnl COM7:: -> send UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: <cr><lf>+DS: 3,0,512,20<cr><lf>0<cr>
    RILProxy : R : GETDATACOMPRESSION - ID: 32, 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: 0x00000021
    RILProxy : C : GETRLPOPTIONS - ID: 33
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd442a160
    (0x00000021)
    RILDrv : t : Executing command with ID: 0x00000021
    RilDrv: Sending cmd: AT+CRLP?<cr>
    710MUX: Chnl COM7:: -> send UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: <cr><lf>+CRLP: 61,61,128,6,0,3<cr><lf>0<cr>
    RILProxy : R : GETRLPOPTIONS - ID: 33, 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=0xd4896f20
    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: 0x00000022
    RILProxy : C : GETGPRSCONTEXTLIST - ID: 34
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd442a160
    (0x00000022)
    RILDrv : t : Executing command with ID: 0x00000022
    RilDrv: Sending cmd: AT+CGDCONT?<cr>
    710MUX: Chnl COM7:: -> send UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: 0<cr>
    RILProxy : R : GETGPRSCONTEXTLIST - ID: 34, Result: OK
    RILDrv : t : CRilHandle::GetAPIInfo : Info for API 48: exec time: 317 msec, time
    out: 10000 msec
    RILDrv : t : Queueing command with ID: 0x00000023
    RILProxy : C : SETBEARERSERVICEOPTIONS - ID: 35, SPEED_9600_V32, BSVCNAME_DATACI
    RCUIT_ASYNC_UDI_MODEM, BSVCCE_NONTRANSPARENT
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd442a160
    (0x00000023)
    RILDrv : t : Executing command with ID: 0x00000023
    RilDrv: Sending cmd: AT+CBST=7,0,1<cr>
    710MUX: Chnl COM7:: -> send UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: 0<cr>
    RILProxy : R : SETBEARERSERVICEOPTIONS - ID: 35, 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: 0x00000024
    RILProxy : C : SETDATACOMPRESSION - ID: 36, DATACOMPDIR_BOTH, DATACOMP_OPTIONAL,
     MaxDictEntries = 512, MaxStringLength = 20
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd442a160
    (0x00000024)
    RILDrv : t : Executing command with ID: 0x00000024
    RilDrv: Sending cmd: AT+DS=3,0,512,20<cr>
    710MUX: Chnl COM7:: -> send UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: 0<cr>
    RILProxy : R : SETDATACOMPRESSION - ID: 36, Result: OK
    CellTSP : i : CallManager::CreateNewCall : htCall=0xd4804e40 has CALL_ID 0x00000
    002
    RILDrv : t : CRilHandle::GetAPIInfo : Info for API 48: exec time: 317 msec, time
    out: 10000 msec
    RILDrv : t : Queueing command with ID: 0x00000025
    RILProxy : C : SETBEARERSERVICEOPTIONS - ID: 37, SPEED_9600_V32, BSVCNAME_DATACI
    RCUIT_ASYNC_UDI_MODEM, BSVCCE_NONTRANSPARENT
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd442a160
    (0x00000025)
    RILDrv : t : Executing command with ID: 0x00000025
    RilDrv: Sending cmd: AT+CBST=7,0,1<cr>
    710MUX: Chnl COM7:: -> send UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: 0<cr>
    RILProxy : R : SETBEARERSERVICEOPTIONS - ID: 37, 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: 0x00000026
    RILProxy : C : SETDATACOMPRESSION - ID: 38, DATACOMPDIR_BOTH, DATACOMP_OPTIONAL,
     MaxDictEntries = 512, MaxStringLength = 20
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd442a160
    (0x00000026)
    RILDrv : t : Executing command with ID: 0x00000026
    RilDrv: Sending cmd: AT+DS=3,0,512,20<cr>
    710MUX: Chnl COM7:: -> send UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: 0<cr>
    RILProxy : R : SETDATACOMPRESSION - ID: 38, 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: 0x00000027
    RILProxy : C : DIAL - ID: 39, Address = "T*99#", Type = CALLTYPE_DATA, Options =
     NONE
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd442a160
    (0x00000027)
    RILDrv : t : Executing command with ID: 0x00000027
    RilDrv: Sending cmd: ATDT*99#<cr>
    710MUX: Chnl COM7:: -> send UIH
    710MUX: Chnl COM7:: -> rec UIH
    710MUX: Chnl COM7:: -> rec UIH
    710MUX: Chnl Ctrl: -> rec UIH
    710MUX: Chnl COM7:: -> modem status 0x8c
    710MUX: Chnl Ctrl: -> send UIH
    710MUX: Chnl COM7:: -> rec UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: <cr><lf>1<cr><lf>1<cr>~}#?}!}!} }<}!}$}&@}#}$?}
    %}&},<e扐"}&} } } } }'}"}(}"~~~
    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
    RILProxy : N : CONNECT - CALLTYPE_DATA
    RILProxy : N : CONNECT - CALLTYPE_DATA
    RILProxy : R : DIAL - ID: 39, Result: OK
    CellTSP : i : TSPI_lineMakeCall_ASYNC : Success
    RILProxy : C : GETSERIALPORTHANDLE - Handle = 0x09c20003

    CellTSP : i : TSPI_lineGetID : Got valid serial handle from RIL
    710MUX: Chnl COM9:: -> send UIH
    710MUX: Chnl COM9:: -> rec UIH
    710MUX: Chnl COM9:: -> rec UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: ~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'
    }"}(}"Z]~
    710MUX: Chnl COM9:: -> send UIH
    710MUX: Chnl COM9:: -> rec UIH
    710MUX: Chnl COM9:: -> rec UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: ~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'
    }"}(}"Z]~~}#?}!}#} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"}2}/~
    710MUX: Chnl COM9:: -> send UIH
    710MUX: Chnl COM9:: -> rec UIH
    710MUX: Chnl COM9:: -> rec UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: ~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'
    }"}(}"Z]~~}#?}!}#} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"}2}/~~}#?}!}$
    } }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"~
    710MUX: Chnl COM9:: -> send UIH
    +JoiHuang_[CDispatcherTongue Tiedend]+
    f9-b-ef-5b-7e-ff-7d-23-c0-21-7d-21-7d-20-7d-20-7d-34-7d-22-7d-26-7d-20-7d-20-7d-
    20-7d-20-7d-25-7d-26-5f-b4-5f-f2-7d-27-7d-22-7d-28-7d-22-ba-c6-7e-31-f9--JoiHuan
    g_[CDispatcherTongue Tiedend]-
    710MUX: Chnl COM9:: -> rec UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: ~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'
    }"}(}"Z]~~}#?}!}#} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"}2}/~~}#?}!}$
    } }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"~~}#?}!}%} }<}!}$}&@}#}$?}%}&
    },<e扐"}&} } } } }'}"}(}"喚~
    710MUX: Chnl COM9:: -> send UIH
    710MUX: Chnl COM9:: -> rec UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: ~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'
    }"}(}"Z]~~}#?}!}#} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"}2}/~~}#?}!}$
    } }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"~~}#?}!}%} }<}!}$}&@}#}$?}%}&
    },<e扐"}&} } } } }'}"}(}"喚~~}#?}!}&} }
    710MUX: Chnl COM9:: -> send UIH
    710MUX: Chnl COM9:: -> rec UIH
    710MUX: Chnl COM9:: -> rec UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: ~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'
    }"}(}"Z]~~}#?}!}#} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"}2}/~~}#?}!}$
    } }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"~~}#?}!}%} }<}!}$}&@}#}$?}%}&
    },<e扐"}&} } } } }'}"}(}"喚~~}#?}!}&} }
    710MUX: Chnl COM9:: -> send UIH
    710MUX: Chnl COM9:: -> rec UIH
    710MUX: Chnl COM9:: -> rec UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: ~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'
    }"}(}"Z]~~}#?}!}#} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"}2}/~~}#?}!}$
    } }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"~~}#?}!}%} }<}!}$}&@}#}$?}%}&
    },<e扐"}&} } } } }'}"}(}"喚~~}#?}!}&} }
    710MUX: Chnl COM9:: -> send UIH
    710MUX: Chnl COM9:: -> rec UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: ~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'
    }"}(}"Z]~~}#?}!}#} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"}2}/~~}#?}!}$
    } }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"~~}#?}!}%} }<}!}$}&@}#}$?}%}&
    },<e扐"}&} } } } }'}"}(}"喚~~}#?}!}&} }
    710MUX: Chnl COM9:: -> send UIH
    710MUX: Chnl COM9:: -> rec UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: ~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'
    }"}(}"Z]~~}#?}!}#} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"}2}/~~}#?}!}$
    } }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"~~}#?}!}%} }<}!}$}&@}#}$?}%}&
    },<e扐"}&} } } } }'}"}(}"喚~~}#?}!}&} }
    710MUX: Chnl COM9:: -> send UIH
    710MUX: Chnl COM9:: -> rec UIH
    710MUX: Chnl Ctrl: -> rec UIH
    ---[CtrlChannelTh]---
    710MUX: Chnl COM7:: -> modem status 0xc
    710MUX: Chnl Ctrl: -> send UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: ~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'
    }"}(}"Z]~~}#?}!}#} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"}2}/~~}#?}!}$
    } }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"~~}#?}!}%} }<}!}$}&@}#}$?}%}&
    },<e扐"}&} } } } }'}"}(}"喚~~}#?}!}&} }
    RILDrv : t : CRilHandle::GetAPIInfo : Info for API 27: exec time: 0 msec, timeou
    t: 10000 msec
    RILDrv : t : Queueing command with ID: 0x00000028
    RILProxy : C : HANGUP - ID: 40
    CellTSP : i : RILCallBody : Called RIL for pending notification item 0xd442a160
    (0x00000028)
    RILDrv : t : Executing command with ID: 0x00000028
    RilDrv: Sending cmd: ATH<cr>
    710MUX: Chnl COM7:: -> send UIH
    710MUX: Chnl COM7:: -> rec UIH
    RilDrv: Accumulated response: ~}#?}!}"} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'
    }"}(}"Z]~~}#?}!}#} }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"}2}/~~}#?}!}$
    } }<}!}$}&@}#}$?}%}&},<e扐"}&} } } } }'}"}(}"~~}#?}!}%} }<}!}$}&@}#}$?}%}&
    },<e扐"}&} } } } }'}"}(}"喚~~}#?}!}&} }
    RILDrv : t : CRilHandle::BroadcastNotification : Broadcasting notification 0x100
    03
    RILProxy : N : DISCONNECT - DISCINIT_LOCAL
    RILProxy : N : DISCONNECT - DISCINIT_LOCAL
    RILProxy : R : HANGUP - ID: 40, Result: OK

    2008年11月6日 7:12