性无码一区二区三区在线观看,少妇被爽到高潮在线观看,午夜精品一区二区三区,无码中文字幕人妻在线一区二区三区,无码精品国产一区二区三区免费

  • 回復(fù)
  • 收藏
  • 點(diǎn)贊
  • 分享
  • 發(fā)新帖

談模擬器的藍(lán)牙環(huán)境地如何搭建

前一段時(shí)間有一個(gè)開發(fā)的哥們說如何使用模擬器來開發(fā)藍(lán)牙,這個(gè)問題我以前遇到過,而且自己也想了一些解決辦法,今天看到了幫助文檔中關(guān)于模擬器的部分,特意譯過來大家研究一下。

全文如下

Series 60 2nd Edition SDK for Symbian OS, Supporting Feature Pack 2

Series 60 Emulator Guide >> Configuring the Emulator

Configuring Bluetooth //設(shè)置藍(lán)牙

This section describes how to configure Bluetooth connectivity for the emulator.

這一部分是介紹如何給模擬器設(shè)置藍(lán)牙連接的

--------------------------------------------------------------------------------

Prerequisites//先決條件

Before you start, make sure that://在你開始前,請(qǐng)確認(rèn)如下條件(譯者按:這個(gè)很重要,務(wù)必看清楚)

the emulator is up and running //模擬器已經(jīng)啟動(dòng),并且在運(yùn)行

the Bluetooth card is connected on your PC. For the supported BT cards, see the Release Note.

//確定藍(lán)牙卡已經(jīng)連接到你的PC,對(duì)于藍(lán)牙卡的支持,請(qǐng)參照Release Note

//這個(gè)我已經(jīng)查過了,諾基亞開發(fā)SDK提供的藍(lán)牙支持是用一種叫藍(lán)牙卡的東西來實(shí)現(xiàn)的,這個(gè)東西在SDK幫助文檔上有圖片,看起來像一個(gè)PCMCIA卡,我后來上網(wǎng)查了一下,的確有一種用PCMCIA接口的那種藍(lán)牙模塊,下面就是我找的一些資料,大家可以看一下

全部回復(fù)(4)
正序查看
倒序查看
哈哈鏡
LV.3
2
2014-02-18 22:27

Xircom CreditCard 藍(lán)牙適配器

Xircom CreditCard藍(lán)牙適配器是今天介紹的最后一款藍(lán)牙通訊設(shè)備,它主要為PCMCIA總線設(shè)計(jì),用于筆記本的藍(lán)牙通訊中。這款適配器是Xircom(Intel一個(gè)公司)出廠,因此我們可以在Intel主頁上找到關(guān)于Xircom CreditCard的詳細(xì)資料。

當(dāng)安裝完設(shè)備和驅(qū)動(dòng)程序后,設(shè)備管理器顯示如下:

對(duì)Xircom CreditCard適配器進(jìn)行控制的是Xircom提供的BlueView軟件,它可以對(duì)藍(lán)牙設(shè)備進(jìn)行連接和控制。

每當(dāng)軟件啟動(dòng)時(shí),就會(huì)對(duì)附近的設(shè)備進(jìn)行查找,并且對(duì)查找到的設(shè)備進(jìn)行分類(知名設(shè)備,新設(shè)備和不知名設(shè)備),通常這要花費(fèi)1-2分鐘的時(shí)間。

發(fā)現(xiàn)使用設(shè)備后,可以使用右鍵對(duì)設(shè)備進(jìn)行控制,“進(jìn)行連接”或者“停用設(shè)備”等。并且可以選擇連接的方式:暫時(shí)連接或者永久連接。如果選擇永久連接的話,那么每當(dāng)系統(tǒng)重新啟動(dòng)時(shí),都會(huì)自動(dòng)連接此設(shè)備。Xircom CreditCard也內(nèi)置了modem,用戶可以通過此modem進(jìn)行互聯(lián)網(wǎng)的訪問。

除此之外,Xircom CreditCard還提供以下這些功能:

· 串行端口控制

· 傳真

· 局域網(wǎng)訪問

在局域網(wǎng)的訪問中,文件傳送的速率并不是很高,一般在24KBPs-46KBps之間。

總體而言,Xircom CreditCard的功能不是很多,但是操作起來比較方便,目前的售價(jià)為$138.99。

這還有個(gè)鏈接,是講這個(gè)東西的

http://www.thinkpad.cn/forum/viewthread.php?tid=87552&fpage=1&highlight=xircom

Bluetooth service is not used by any other Windows application.

//最后一個(gè)條件就是藍(lán)牙服務(wù)不能被其它Windows應(yīng)用程序使用,滿足這三個(gè)條件就可以使用藍(lán)牙了

0
回復(fù)
哈哈鏡
LV.3
3
2014-02-18 22:33

Bluetooth connections are configured using the Preferences dialog.

//下面是藍(lán)牙設(shè)置的對(duì)話框

To access the Preferences tool, select Tools > Preferences from the emulator main menu.

//在模擬器中的Tools下面的Preference中

Click the PAN (Personal Area Networking) tab to display the following tab page:

Figure: PAN (Personal Area Networking) tab

Select Enable under Bluetooth and enter the following information for the connection:

Select the COM port used by the Bluetooth card.

//選擇COM口來使用藍(lán)牙卡,這個(gè)就是我們要用PCMCIA口的原因了,因?yàn)槲乙郧坝玫哪莻€(gè)USB口的是模擬出來的串口,所以在設(shè)置的時(shí)候根本就不好用,但是你如果用帶串口支持的藍(lán)牙卡就可以直接在這個(gè)地方設(shè)置了

Select the bluetooth Host Configuration Protocol(HCI) (BCSP or H4)

//選擇藍(lán)牙設(shè)置協(xié)議,一般我們用BCSP的比較多

By default, the emulator uses the BCSP HCI to communicate with Bluetooth hardware.

//默認(rèn)的是用BCSP協(xié)議來與藍(lán)牙硬件通信

Click Apply to accept the changes or OK to accept and exit the tool.

//點(diǎn)擊應(yīng)用然后點(diǎn)OK退出

A notification message is displayed stating that you need to restart the emulator to activate the changes.

//重新啟動(dòng)模擬器以激活設(shè)置

You can now proceed with enabling Bluetooth for the emulator to test that the connection works, see Enabling Bluetooth.

然后就可以使用了。

0
回復(fù)
哈哈鏡
LV.3
4
2014-02-18 22:36
@哈哈鏡
BluetoothconnectionsareconfiguredusingthePreferencesdialog.//下面是藍(lán)牙設(shè)置的對(duì)話框ToaccessthePreferencestool,selectTools>Preferencesfromtheemulatormainmenu.//在模擬器中的Tools下面的Preference中ClickthePAN(PersonalAreaNetworking)tabtodisplaythefollowingtabpage:[圖片]Figure:PAN(PersonalAreaNetworking)tabSelectEnableunderBluetoothandenterthefollowinginformationfortheconnection:SelecttheCOMportusedbytheBluetoothcard.//選擇COM口來使用藍(lán)牙卡,這個(gè)就是我們要用PCMCIA口的原因了,因?yàn)槲乙郧坝玫哪莻€(gè)USB口的是模擬出來的串口,所以在設(shè)置的時(shí)候根本就不好用,但是你如果用帶串口支持的藍(lán)牙卡就可以直接在這個(gè)地方設(shè)置了SelectthebluetoothHostConfigurationProtocol(HCI)(BCSPorH4)//選擇藍(lán)牙設(shè)置協(xié)議,一般我們用BCSP的比較多Bydefault,theemulatorusestheBCSPHCItocommunicatewithBluetoothhardware.//默認(rèn)的是用BCSP協(xié)議來與藍(lán)牙硬件通信ClickApplytoacceptthechangesorOKtoacceptandexitthetool.//點(diǎn)擊應(yīng)用然后點(diǎn)OK退出Anotificationmessageisdisplayedstatingthatyouneedtorestarttheemulatortoactivatethechanges.//重新啟動(dòng)模擬器以激活設(shè)置YoucannowproceedwithenablingBluetoothfortheemulatortotestthattheconnectionworks,seeEnablingBluetooth.然后就可以使用了。
目前先整理了這些,隨著整理會(huì)再發(fā)上來 歡迎行業(yè)高手或兄弟們來一塊討論,共同學(xué)習(xí)
0
回復(fù)
哈哈鏡
LV.3
5
2014-02-18 22:36
@哈哈鏡
目前先整理了這些,隨著整理會(huì)再發(fā)上來歡迎行業(yè)高手或兄弟們來一塊討論,共同學(xué)習(xí)
0
回復(fù)
發(fā)