当蓝牙(Bluetooth)和NFC两种技术同时出现在某一设备中时,开发者如何最大限度的发挥NFC和蓝牙的优势,使用NFC进行蓝牙安全简易配对(Secure Simple Pairing,SSP)?
NFC论坛和蓝牙协会(Bluetooth SIG)联合出版的文件——“使用NFC进行蓝牙安全简易配对(Bluetooth Secure Simple Pairing Using NFC)”,详细描述了SSP过程中蓝牙和NFC技术互动,该文档目录如下:
1 Introduction...................................................................................1
1.1 Audience.................................................................................... 1
1.2 Applicable Documents or References ......................................................... 1
1.3 Administration.............................................................................. 2
1.4 Name and Logo Usage ........................................................................ 2
1.5 Intellectual Property ...................................................................... 3
1.6 Special Word Usage ......................................................................... 3
1.7 Abbreviations .............................................................................. 4
1.8 Glossary.................................................................................... 5
2 Overview ......................................................................................7
2.1 Device Selection............................................................................ 7
2.2 Securely Connect............................................................................ 7
2.3 Start an Application........................................................................ 7
3 Handover to a Bluetooth Carrier ...............................................................8
3.1 OOB Data Length............................................................................. 9
3.2 Bluetooth Device Address ................................................................... 9
3.3 OOB Optional Data .......................................................................... 9
3.3.1 Bluetooth Local Name Information ......................................................... 10
3.3.2 Simple Pairing Hash C Information......................................................... 10
3.3.3 Simple Pairing Randomizer R Information .................................................. 10
3.3.4 Service Class UUID Information............................................................ 11
3.3.5 Class of Device Information .............................................................. 12
4 Examples.......................................................................................13
4.1 Negotiated Handover......................................................................... 13
4.2 Static Handover ............................................................................ 20
4.2.1 Simplified Tag Format for a Single Bluetooth Carrier ..................................... 24
A. Revision History .............................................................................26
Figure 1: Bluetooth Handover Request Message ................................................... 13
Figure 2: Bluetooth Handover Select Message..................................................... 17
Figure 3: Bluetooth Configuration Data on NFC Forum Tag ........................................ 20
Figure 4: Bluetooth OOB Data on NFC Forum Tag .................................................. 24
Table 1: Abbreviations .......................................................................... 4
Table 2: Bluetooth OOB Data ..................................................................... 8
Table 3: Bluetooth EIR Data Types................................................................ 9
Table 4: Binary Content of a Sample Bluetooth Handover Request Message .......................... 15
Table 5: Binary Content of a Sample Bluetooth Handover Select Message ........................... 18
Table 6: Binary Content of a Sample Bluetooth Handover Select Message on an NFC Forum Tag ....... 22
Table 7: Binary Content of a Sample Bluetooth OOB Data on an NFC Forum Tag....................... 25
Table 8: Revision History........................................................................ 26
免费下载《Bluetooth Secure Simple Pairing Using NFC》,请访问http://www.nfc-forum.org/resources/AppDocs/NFCForum_AD_BTSSP_1_0.pdf。