high
论坛版主
论坛版主
  • 注册日期2002-08-10
  • 最后登录2010-07-26
  • 粉丝4
  • 关注0
  • 积分60分
  • 威望655点
  • 贡献值0点
  • 好评度56点
  • 原创分0分
  • 专家分60分
阅读:3038回复:0

RIL 和 tsp(celltsp) 交互的困惑

楼主#
更多 发布于:2009-12-04 18:11
请问celltsp在控制一个 voice call的流程细节是怎样的?

msdn上语焉不详

The RIL driver issues a dial command to the radio. The radio acknowledges that the dial is initiated.

The RIL driver returns RIL_RESULT_OK for the dial command.
(modem返回OK,连接建立,但是no carrier,busy,这些情况如何通知给upper?)
The RIL driver generates a RIL_CALLTYPE_VOICE constant.
(RIL_CALLTYPE_VOICE这个常量是塞在哪一个notification?)
The RIL driver generates a RIL_NOTIFY_CALLPROGRESSINFO constant to indicate call state transitions.
(RIL_NOTIFY_CALLPROGRESSINFO本身已经是一个notify了, 他的RILCALLINFO结构,尤其是dwStatus要填入什么?)

The TSP calls the RIL_GetCallList function repeatedly while it waits for the call to be in RIL_CALLSTAT_ACTIVE mode. If the function call completes successfully, it returns RIL_RESULT_OK with a RILCALLINFO structure with the following values.
(这个阶段没有发生)
----------------------------------------------------------------------------------------------------------
如果不使用celltsp, tapi就无法使用了。
1. wince的手机是如何摆平celltsp的?还是自己实现一个tsp?
2. 抑或是直接使用RIL.dll来完成?

-----
如果直接用ril.dll来实现,是比较轻松惬意,放弃tapi可以容忍。 但是数据功能怎么办? 用710弄第二个串口做data port,然后unimodem.dll?这样能够适时的退出data模式吗?
游客

返回顶部