Subject: [联网通信] 同时创建GPRS和GSM连接
admin
Administrator
Rank: 9Rank: 9Rank: 9



UID 1
Digest Posts 0
Credits 2856
Posts 52
Money 11
Reading Access 200
Registered 8-3-2007
Status Offline
Post at 19-3-2007 10:37  Profile | Blog | P.M. 
同时创建GPRS和GSM连接

概叙

第三方的S60程序可以同时提供GPRS和GSM通话

适用平台

S60 3rd Edition

解决方案

S60设备根据活动GSM通话时的GPRS能力分为3类:

A类

能够同时使用链接GPRS服务和GSM服务(语音和短信)。这些设备现在主要包括:S60第三版的设备(Nokia N73/N80/N91/N93, Nokia E60/E61/E70等等)

B类

能够使用链接GPRS服务和GSM服务(语音和短信),但是同一时间只能使用一个。在GSM服务期间,GPRS服务被拒绝,当GSM结束后,GPRS将自动恢复。大多数S60第二版的设备都是B类(Nokia N70, Nokia N90, Nokia 6680等等)。

C类

能够链接GPRS服务和GSM服务(语音和短信)自己中的任一个,但必须手动在服务间切换。

Note: There is no direct API to query about the supported GPRS class in a device. Most S60 3rd Edition 3G (WCDMA) phones support GPRS and belong to class A. The Feature Discovery API can be used to detect if the phone supports WCDMA stack. Here is a code snippet:
注意:在设备中没有直接的API(关于支持GPRS的类)可以查询。大多数S60第三版的3G(WCDMA)手机支持GPRS并属于A类。如果手机支持WCDMA堆栈,则可以通过API来发现。代码段如下:

    TBool isSupported = CFeatureDiscovery::IsFeatureSupportedL(KFeatureIdProtocolWcdma);

    if (isSupported)

        {

        // activate the service

        }

Top
admin
Administrator
Rank: 9Rank: 9Rank: 9



UID 1
Digest Posts 0
Credits 2856
Posts 52
Money 11
Reading Access 200
Registered 8-3-2007
Status Offline
Post at 19-3-2007 10:40  Profile | Blog | P.M. 
Establishing GSM and GPRS connections simultaneously

Overview

S60 3rd-party applications may want to provide the functionality of accessing GPRS while there is an active GSM call.

Solution

S60 devices have been categorized into three classes based on the GPRS capability during an active GSM call.

Class A  

Can be connected to GPRS service and GSM service (voice, SMS), using both at the same time. Such devices currently available include the S60 3rd Edition devices (Nokia N73/N80/N91/N93, Nokia E60/E61/E70, etc).

Class B

Can be connected to GPRS service and GSM service (voice, SMS), but using only one or the other at a given time. During GSM service (voice call or SMS), GPRS service is suspended, and then resumed automatically after the GSM service (voice call or SMS) has concluded. Most  S60 2nd Edition devices are in Class B (Nokia N70, Nokia N90, Nokia 6680, etc).

Class C

Can be connected to either GPRS service or GSM service (voice, SMS). Must be switched manually between the services.

Note: There is no direct API to query about the supported GPRS class in a device. Most S60 3rd Edition 3G (WCDMA) phones support GPRS and belong to class A. The Feature Discovery API can be used to detect if the phone supports WCDMA stack. Here is a code snippet:

    TBool isSupported = CFeatureDiscovery::IsFeatureSupportedL(KFeatureIdProtocolWcdma);

    if (isSupported)

        {

        // activate the service

        }

【文章来源:Forum Nokia Library
Top
aa746335
Newbie
Rank: 1



UID 15948
Digest Posts 0
Credits 2
Posts 4
Money 16
Reading Access 10
Registered 27-5-2009
Status Offline
Post at 28-5-2009 00:35  Profile | Site | P.M.  | QQ
shop36558344.taobao.com
Top
 


All times are GMT+8, the time now is 9-9-2010 19:49

CopyRight © Symbianx.cn 2007 Powered By Discuz! 5
Clear Cookies - Contact Us - Symbian OS系统[S60,UIQ]开发中文翻译论坛 - Archiver

本站原文版权归原文作者所有,本站译文版权归本站所有,如需转载请注明原文和译文出处,否则追究法律责任