<meter id="pryje"><nav id="pryje"><delect id="pryje"></delect></nav></meter>
          <label id="pryje"></label>

          新聞中心

          EEPW首頁 > 手機(jī)與無線通信 > 設(shè)計(jì)應(yīng)用 > TI NFC 產(chǎn)品在智能電視中的應(yīng)用設(shè)計(jì)

          TI NFC 產(chǎn)品在智能電視中的應(yīng)用設(shè)計(jì)

          作者: 時(shí)間:2015-01-13 來源:網(wǎng)絡(luò) 收藏

            3系統(tǒng)軟件設(shè)計(jì)

          本文引用地址:http://www.ex-cimer.com/article/268083.htm

            系統(tǒng)軟件設(shè)計(jì)主要包括智能電視應(yīng)用中的各項(xiàng)功能的實(shí)現(xiàn):有對TAG的讀取以獲取特定電視或者網(wǎng)絡(luò)節(jié)目的權(quán)限,有對藍(lán)牙配對配對的需求實(shí)現(xiàn)快速建立藍(lán)牙與的連接,另外電視可以通過P2P功能獲取手機(jī)相關(guān)圖片,鏈接信息,實(shí)現(xiàn)信息的快速切換。也可以通過對Firmware進(jìn)行無線升級。

            3.1標(biāo)簽讀取

            TRF7970A可支持ISO15693,ISO14443A/B等標(biāo)簽的讀取(如圖6所示)。

            

           

            圖6 TRF7970A支持的卡片標(biāo)準(zhǔn)

            3.2藍(lán)牙配對

            根據(jù)論壇與藍(lán)牙SIG聯(lián)盟定義的安全簡易配對Bluetooth secure simple paring using (NFCForum-AD-BTSSP)規(guī)范,將藍(lán)牙配對信息(如下數(shù)組)通過MCU寫RF430CL330H的NDEF區(qū)域,當(dāng)任何具有NFC功能的設(shè)備,讀取到該內(nèi)容后將自動進(jìn)行藍(lán)牙配對的連接過程。

            藍(lán)牙的OOB數(shù)據(jù)格式如圖7所示。包括OOB數(shù)據(jù)長度,藍(lán)牙設(shè)備地址與名稱,設(shè)備種類以及UUID.

            

           

            圖7 NDEF中的藍(lán)牙OOB數(shù)據(jù)格式

            藍(lán)牙的NDEF寫入信息數(shù)據(jù)結(jié)構(gòu)如下:

            Unsigned char NDEF_Application_Data[]=

            {

            //NDEF Tag Application Name

            0xD2,0x76,0x00,0x00,0x85,0x01,0x01,

            //Capability Container ID

            0xE1,0x03,

            //Capability Container

            0x00,0x0F,//CCLEN

            0x20,//Mapping version 2.0

            0x00,0x3B,//MLe(49 bytes); Maximum R-APDU data size

            0x00,0x34,//MLc(52 bytes); Maximum C-APDU data size

            0x04,//Tag,F(xiàn)ile Control TLV(4 = NDEF file)

            0x06,//Length,F(xiàn)ile Control TLV(6 = 6 bytes of data for this tag)

            0xE1,0x04,//File Identifier

            0x0C,0x02,//Max NDEF size(3072 bytes)

            0x00,//NDEF file read access condition,read access without any security

            0x00,//NDEF file write access condition; write access without any security

            //NDEF File ID

            0xE1,0x04,

            0x00,0x44,//NLEN; NDEF length(68 byte long message)

            0xD2,//MB=1b,ME=1b,CF=0b,SR=1b,IL=0b,TNF=010b

            0x20,//Record Type Length:32 octets

            0x21,//payload length:33 octets;

            0x61,0x70,0x70,0x6C,0x69,0x63,0x61,0x74,0x69,0x6F,0x6E,0x2F,0x76,

            0x6E,0x64,0x2E,0x62,0x6C,0x75,0x65,0x74,0x6F,0x6F,0x74,0x68,0x2E,

            0x65,0x70,0x2E,0x6F,0x6F,0x62,//Record Type Name:application/vnd.blue

            //tooth.ep.oob

            0x21,0x00,//OOB optional data length:33 octets

            0x06,0x05,0x04,0x03,0x02,0x01,//bluetooth device address:

            //01:02:03:04:05:06(example address only)

            0x0D,//EIR Data Length:13 octets

            0x09,//EIR Data Type:Complete Local Name

            0x48,0x65,0x61,0x64,0x53,0x65,0x74,0x20,0x4E,0x61,0x6D,0x65,//

            //Bluetooth Local Name:HeadSet Name

            0x04,//EIR Data Length:4 octets

            0x0D,//EIR Data Type:Class of device

            0x04,0x04,0x20,//Class of Device:0x20:Service Class=

            //Audio,0x04:Major Device Class=Audio/Video,0x04:Minor Device Class=Wearable //Headset Device

            0x05,//EIR Data Length:5 octets

            0x03,//EIR Data type:16-bit Service Class UUID list(complete)

            0x1E,0x11,0x0B,0x11 //16-bit Service Class UUID list(complete);0x111E–

            //HFP-HF,0x011B?A2DP-SNK

            };

            3.3 Peer to Peer

            P2P是基于NFC論壇定義的Simple NDEF Exchange Protocol(NFCForum-TS-SNEP)規(guī)范,其主要流程如下。手機(jī)可以通過P2P的功能將相關(guān)的信息例如圖片,鏈接等與電視進(jìn)行快速交互。

            

           

            圖8 P2P的軟件操作流程

          萬能遙控器相關(guān)文章:萬能遙控器代碼




          關(guān)鍵詞: TI NFC WIFI

          評論


          相關(guān)推薦

          技術(shù)專區(qū)

          關(guān)閉
          看屁屁www成人影院,亚洲人妻成人图片,亚洲精品成人午夜在线,日韩在线 欧美成人 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();