
??想了解更多關(guān)于開源的內(nèi)容,請(qǐng)?jiān)L問:??
??51CTO 開源基礎(chǔ)軟件社區(qū)??
??https://ost.51cto.com??
概述
名詞解釋
WiFi:Wi-Fi or WiFi(/?wa?fa?/?)[1][a]?, is a family of wireless network protocols?, based on the IEEE 802.11? family of standards, which are commonly used for local area networking? of devices and Internet? access, allowing nearby digital devices to exchange data by radio waves.
Wi?Fi is a trademark of the non-profit Wi-Fi Alliance?, which restricts the use of the term Wi-Fi Certified to products that successfully complete interoperability certification testing.
藍(lán)牙:Bluetooth is a short-range wireless? technology standard that is used for exchanging data between fixed and mobile devices over short distances using UHF radio waves? in the ISM bands?, from 2.402 GHz to 2.48 GHz, and building personal area networks (PANs).
Bluetooth is managed by the Bluetooth Special Interest Group? (SIG), which has more than 35,000 member companies in the areas of telecommunication, computing, networking, and consumer electronics. The IEEE? standardized Bluetooth as IEEE 802.15.1, but no longer maintains the standard. The Bluetooth SIG oversees development of the specification, manages the qualification program, and protects the trademarks.[4]? A manufacturer must meet Bluetooth SIG standards to market it as a Bluetooth device.
問題:
- Wi-Fi是什么?
- 藍(lán)牙是什么?
- Wi-Fi和藍(lán)牙的最大區(qū)別是什么?
本章主要參考資料:
- https://en.wikipedia.org/wiki/Wi-Fi。
- https://en.wikipedia.org/wiki/Bluetooth。
標(biāo)準(zhǔn)
Wi-Fi標(biāo)準(zhǔn):IEEE 802.11(b/a/n/ac/ax/be,第一代至第七代)。
Wi-Fi與IEEE 802.11常常被混淆,兩者的區(qū)別可以概述為IEEE 802.11是一種無(wú)線局域網(wǎng)標(biāo)準(zhǔn),而Wi-Fi是IEEE 802.11標(biāo)準(zhǔn)的一種實(shí)現(xiàn)。
藍(lán)牙標(biāo)準(zhǔn):IEEE 802.15.1
運(yùn)行機(jī)制
OSI:
![#沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū) #沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū)](https://dl-harmonyos.51cto.com/images/202210/956ba65039c6d68b3e240421936c8b3bb681dc.png?x-oss-process=image/resize,w_820,h_884)
Wi-Fi:
- Infrastructure:所有數(shù)據(jù)通過一個(gè)base station。典型應(yīng)用就是電腦,路由,外設(shè)(電腦,NAS,打印機(jī)等);
- Ad hoc and Wi-Fi direct:兩個(gè)設(shè)備直連。Ad hoc存在不同網(wǎng)絡(luò)類型,簡(jiǎn)單網(wǎng)絡(luò)即兩個(gè)設(shè)備直連,負(fù)載類型可轉(zhuǎn)發(fā)數(shù)據(jù)包(帶路由能力),典型應(yīng)用就是手機(jī)熱點(diǎn);Wi-Fi direct則只應(yīng)用在文件傳輸和多媒體文件分享;還有一種直連方式為TDLS(Tunneled Direct-Link Setup),指在相同Wi-Fi網(wǎng)絡(luò)內(nèi)互相通信(不通過AP);
- Multiple access points:通過配置SSID和安全設(shè)定使得其他設(shè)備可接入Wi-Fi網(wǎng)絡(luò);
參考文檔:
https://wireless.wiki.kernel.org/en/users/documentation/modes。
Bluetooth:
![#沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū) #沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū)](https://dl-harmonyos.51cto.com/images/202210/24b96f757b5bb2f60a133025a5347a98b0ff32.png?x-oss-process=image/resize,w_820,h_984)
架構(gòu)
鴻蒙架構(gòu)
![#沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū) #沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū)](https://dl-harmonyos.51cto.com/images/202210/39d2a7653376436cde5592fd029d983d8b52db.png?x-oss-process=image/resize,w_820,h_866)
Linux架構(gòu)
![#沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū) #沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū)](https://dl-harmonyos.51cto.com/images/202210/b474c50967eaf25c2c13781543ab49b12d7365.png?x-oss-process=image/resize,w_712,h_547)
Android架構(gòu)
WIFI
![#沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū) #沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū)](https://dl-harmonyos.51cto.com/images/202210/e7cc6b747d39eb7d3af366360ec05db577ef20.png?x-oss-process=image/resize,w_820,h_528)
結(jié)構(gòu)



- 整體目錄
.
├── applications //*應(yīng)用層(settings,photo等)
├── ark //ArkUI,為js和ts應(yīng)用提供支持
├── base //*基礎(chǔ)子系統(tǒng)(應(yīng)用引擎:賬號(hào)、位置、通知、電話…子系統(tǒng))
├── build //編譯框架
├── build.py -> build/lite/build.py //編譯腳本
├── build.sh -> build/build_scripts/build.sh //編譯腳本
├── developtools //開發(fā)工具
├── device //適配設(shè)備
├── docs //文檔
├── domains //
├── drivers //驅(qū)動(dòng)
├── foundation //*能力子系統(tǒng),提供(ace,communication,graphic…)
├── interface //js API d.ts
├── kernel //kernel,如linux,liteOS
├── prebuilts //預(yù)編譯庫(kù)
├── productdefine //產(chǎn)品形態(tài)配置
├── qemu-run -> vendor/ohemu/common/qemu-run
├── test //測(cè)試集合
├── third_party //第三方庫(kù)
├── utils //公共基礎(chǔ)庫(kù),
└── vendor //其他廠商
- Wi-Fi目錄
├── interfaces //接口
│ ├── innerkits //接口實(shí)現(xiàn)
│ │ ├── native_c //lite的接口實(shí)現(xiàn)
│ │ └── native_cpp //標(biāo)準(zhǔn)系統(tǒng)的接口實(shí)現(xiàn)
│ └── kits
│ └── jskits //d.ts接口定義
├── services
│ └── wifi_standard //標(biāo)準(zhǔn)Wi-Fi實(shí)現(xiàn)
│ ├── etc //服務(wù)配置
│ ├── ipc_framework //ipc服務(wù)(client,server)
│ ├── sa_profile //服務(wù)配置(wifi_manager_service:libwifi_device_ability.z.so[1125], libwifi_scan_ability.z.so[1126],libwifi_hotspot_ability.z.so[[1127],libwifi_p2p_ability.z.so[[1128]])
│ ├── wifi_framework //wifi_system_ability(device,hotspot,p2p,scan),wifi_manager(ap,p2p,scan,sta),dhcp_manager(client,server,manager))
│ └── wifi_hal
├── tests
│ └── wifi_standard
│ ├── ipc_framework
│ ├── wifi_framework
│ └── wifi_hal
└── utils
├── inc
│ ├── wifi_common_util.h
│ └── wifi_hisysevent.h
└── src
├── BUILD.gn
├── wifi_common_util.cpp
└── wifi_hisysevent.cpp
機(jī)制
Title: Wifi Enabel 命令調(diào)用流程
wifi.ets ->WifiModel: enableWifi(開wifi)
Note right of WifiModel: foundation(接口,服務(wù))
Note left of wifi.ets: Setting(頁(yè)面,組件)
WifiModel -> @ohos.wifi: enableWifi
@ohos.wifi -> WifiDeviceImpl: EnableWifi
WifiDeviceImpl-->WifiDeviceServiceImpl: EnableWifi(softbus)
注意:
.
├── figures //markdown的圖片
├── hisysevent.yaml //事件定義
├── interfaces //接口
│ ├── innerkits
│ │ ├── native_c //lite的接口
│ │ └── native_cpp //標(biāo)準(zhǔn)系統(tǒng)的接口
│ └── kits
│ └── jskits //js接口的定義文件d.ts
├── services //服務(wù)
│ └── wifi_standard //標(biāo)準(zhǔn)系統(tǒng)(主要用于對(duì)接softbus)
│ ├── etc //服務(wù)配置
│ ├── ipc_framework //ipc(rpc)框架
│ ├── sa_profile //動(dòng)態(tài)服務(wù)拉起(wifi,scan,hotspot,p2p)
│ ├── wifi_framework //實(shí)現(xiàn)(dhcp,wifi)
│ └── wifi_hal //硬件接口適配層
├── tests //測(cè)試
│ └── wifi_standard
│ ├── ipc_framework
│ ├── wifi_framework
│ └── wifi_hal
└── utils
/* -----------Feature service name-------------- */
#define WIFI_SERVICE_STA "StaService" /* STA */
#define WIFI_SERVICE_AP "ApService" /* AP */
#define WIFI_SERVICE_P2P "P2pService" /* P2P */
#define WIFI_SERVICE_SCAN "ScanService" /* SCAN */
/* ---------Feature service ability id */
#define WIFI_DEVICE_ABILITY_ID 1125
#define WIFI_SCAN_ABILITY_ID 1126
#define WIFI_HOTSPOT_ABILITY_ID 1127
#define WIFI_P2P_ABILITY_ID 1128
/* ---------Feature system status */
#define MODE_STATE_SCREEN (1)
#define MODE_STATE_AIR_PLANE (2)
#define MODE_STATE_APP_RUN (3)
#define MODE_STATE_POWER_SAVING (4)
#define MODE_STATE_FREEZE (5)
#define MODE_STATE_NO_CHARGER_PLUG (6)
/* ---------Feature wifi status */
#define MODE_STATE_OPEN (1)
#define MODE_STATE_CLOSE (2)
Title: Wifi Enabel 執(zhí)行流程
WifiDeviceServiceImpl ->WifiConfigCenter: GetWifiMidState(狀態(tài))
Note right of WifiConfigCenter: 狀態(tài)
Note left of WifiDeviceServiceImpl: 實(shí)現(xiàn)
WifiDeviceServiceImpl -> WifiP2pServiceImpl: EnableP2p
WifiDeviceServiceImpl->WifiConfigCenter: SetWifiMidState(OPENING)
WifiDeviceServiceImpl->IStaService:EnableWifi
IStaServie -> StaStateMachine: 發(fā)命令
WifiDeviceServiceImpl->WifiSettings:SyncWifiConfig
注意
- WifiConfigCenter里的狀態(tài):CLOSED/CLOSING/OPENING/RUNNING/UNKNOWN。
- StaMachine里的狀態(tài):
#define WIFI_SVR_CMD_STA_ENABLE_WIFI 0x2001
#define WIFI_SVR_CMD_STA_DISABLE_WIFI 0x2002
#define WIFI_SVR_CMD_STA_OPERATIONAL_MODE 0x2003
#define WIFI_SVR_CMD_STA_CONNECT_NETWORK 0x2004
#define WIFI_SVR_CMD_STA_CONNECT_SAVED_NETWORK 0x2005
#define WIFI_SVR_CMD_STA_RECONNECT_NETWORK 0x2006
#define WIFI_SVR_CMD_STA_REASSOCIATE_NETWORK 0x2007
#define WIFI_SVR_CMD_STA_DISCONNECT 0x2008
#define WIFI_SVR_CMD_STA_STARTWPS 0x2009
#define WIFI_SVR_CMD_STA_CANCELWPS 0x200A
#define WIFI_SVR_COM_STA_START_ROAM 0x200B
#define WIFI_SVR_CMD_STA_ERROR 0x3001
#define WIFI_SVR_CMD_STA_SUP_CONNECTION_EVENT 0x3002
#define WIFI_SVR_CMD_STA_SUP_DISCONNECTION_EVENT 0x3003
#define WIFI_SVR_CMD_STA_NETWORK_CONNECTION_EVENT 0x3004
#define WIFI_SVR_CMD_STA_NETWORK_DISCONNECTION_EVENT 0x3005
#define WIFI_SVR_CMD_STA_WPS_START_EVENT 0x3006
#define WIFI_SVR_CMD_STA_WPS_CANCEL_EVENT 0x3007
#define WIFI_SVR_CMD_STA_WPS_FAILED_EVENT 0x3008
#define WIFI_SVR_CMD_STA_WPS_OVERLAP_EVENT 0x3009
#define WIFI_SVR_CMD_STA_WPS_TIMEOUT_EVNET 0x300A
#define WIFI_SVR_CMD_STA_WPS_WEP_PROHIBITED 0x300B
#define WIFI_SVR_CMD_STA_WPS_TKIP_ONLY_PROHIBITED 0x300C
#define WIFI_SVR_CMD_STA_WPS_AUTH_FAILURE 0x300D
#define WIFI_SVR_CMD_STA_WPS_OVERLAP_ERROR 0x300E
#define WIFI_SVR_CMD_STA_SUP_REQUEST_IDENTITY 0x300F
#define WIFI_SVR_CMD_STA_SUP_REQUEST_SIM_AUTH 0x3010
#define WIFI_SVR_CMD_STA_AUTHENTICATION_FAILURE_EVENT 0x3011
#define WIFI_SVR_CMD_STA_REASON_TKIP_ONLY_PROHIBITED 0x3012
#define WIFI_SVR_CMD_STA_REASON_WEP_PROHIBITED 0x3013
#define WIFI_SVR_CMD_STA_CONFIG_AUTH_FAILURE 0x3014
#define WIFI_SVR_CMD_STA_CONFIG_MULTIPLE_PBC_DETECTED 0x3015
#define WIFI_SVR_CMD_STA_WPA_STATE_CHANGE_EVENT 0x3016
#define WIFI_SVR_CMD_STA_WPA_PASSWD_WRONG_EVENT 0x3017
#define WIFI_SVR_CMD_STA_WPA_FULL_CONNECT_EVENT 0x3018
#define WIFI_SVR_CMD_STA_WPA_ASSOC_REJECT_EVENT 0x3019
graph TD;
RootStat --> InitState;
RootStat --> WpaStartingState;
RootStat --> WpaStartedState;
RootStat --> WpaStoppingState;
WpaStartedState --> LinkState;
LinkState --> SeparatingState;
LinkState --> SeparatedState;
LinkState --> ApLinkedState;
ApLinkedState --> GetIpState;
ApLinkedState --> LinkedState;
ApLinkedState --> ApRoamingState;
LinkState --> pWpsState;
實(shí)現(xiàn)
![#沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū) #沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū)](https://s8.51cto.com/oss/202210/31/54f0b38472bb26bda51969f997d217098c083f.png)
//drivers/pripheral/wlan
.
├── client
├── figures
├── hal
├── hdi_service
├── interfaces
└── test
藍(lán)牙
結(jié)構(gòu)
![#沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū) #沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū)](https://dl-harmonyos.51cto.com/images/202210/a3c8c1a8646717642469899988de2920338d9f.png?x-oss-process=image/resize,w_820,h_866)
![#沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū) #沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū)](https://dl-harmonyos.51cto.com/images/202210/57a9c182287308c118481858014eced968e648.png?x-oss-process=image/resize,w_820,h_666)
![#沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū) #沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū)](https://dl-harmonyos.51cto.com/images/202210/f298e52719d3d4bdf61446ab507eb37eafc7c4.png?x-oss-process=image/resize,w_820,h_850)
- 整體目錄
.
├── applications //*應(yīng)用層(settings,photo等)
├── ark //ArkUI,為js和ts應(yīng)用提供支持
├── base //*基礎(chǔ)子系統(tǒng)(應(yīng)用引擎:賬號(hào)、位置、通知、電話…子系統(tǒng))
├── build //編譯框架
├── build.py -> build/lite/build.py //編譯腳本
├── build.sh -> build/build_scripts/build.sh //編譯腳本
├── developtools //開發(fā)工具
├── device //適配設(shè)備
├── docs //文檔
├── domains //
├── drivers //驅(qū)動(dòng)
├── foundation //*能力子系統(tǒng),提供(ace,communication,graphic…)
├── interface //js API d.ts
├── kernel //kernel,如linux,liteOS
├── prebuilts //預(yù)編譯庫(kù)
├── productdefine //產(chǎn)品形態(tài)配置
├── qemu-run -> vendor/ohemu/common/qemu-run
├── test //測(cè)試集合
├── third_party //第三方庫(kù)
├── utils //公共基礎(chǔ)庫(kù),
└── vendor //其他廠商
- Bluetooth目錄
.
├── interfaces //接口
│ ├── innerkits
│ │ ├── native_c //輕量級(jí)接口
│ │ └── native_cpp //標(biāo)準(zhǔn)版接口
│ └── kits
│ ├── js //d.ts接口功能定義
│ └── napi //接口實(shí)現(xiàn)
├── sa_profile
│ ├── 1130.xml //bluetooth_service
│ └── BUILD.gn
└── services
├── bluetooth
│ └── BUILD.gn //輕量級(jí)定義
└── bluetooth_standard
├── common //btcommon
├── etc //服務(wù)配置
├── external //dummy數(shù)據(jù)
├── hardware //硬件適配
├── ipc //ipc通信
├── server //藍(lán)牙服務(wù)
├── service //藍(lán)牙profile(a2dp[snk,src],acrcp[ct,tg],ble,classic,gatt,a2dp,hfp[ag,hf],map[mce,mse],obex,pbap[pce,pse]
└── stack //藍(lán)牙協(xié)議棧(hci,l2cap,rfcomm,sdp,smp,gap,btm,avdtp,acctp,att)
機(jī)制
Title: Bluetooth調(diào)用流程
bluetooth.ets ->deviceController: toggleValue(開關(guān))
Note right of deviceController: 控制器(接口)
Note left of bluetooth.ets: Setting(頁(yè)面)
deviceController -> BluetoothModel: enableBluetooth
BluetoothModel->@ohos.bluetooth: enableBluetooth
@ohos.bluetooth->BluetoothHost: EnableBluetooth
Title: Bluetooth使能流程
napi_bluetooth_host ->BluetoothHost: EnableBt(開關(guān))
napi_bluetooth_host ->BluetoothHost: EnableBle(開關(guān))
BluetoothHost -> BluetoothHostProxy: enableBluetooth
BluetoothHostProxy -> BluetoothHostProxy: InnerTransact
BluetoothHostProxy -> IRemoteObject: SendRequest
SystemStateObserver
├── OnSystemStateChange
BTSystemState::ON:
AdapterStateObserver
AdapterClassicObserver
ClassicRemoteDeviceObserver
ClassicRemoteDeviceObserver
AdapterBleObserver
BlePeripheralCallback
實(shí)現(xiàn)
![#沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū) #沖刺創(chuàng)作新星# #跟著小白一起學(xué)鴻蒙# [十一] WiFi & 藍(lán)牙子系統(tǒng)-開源基礎(chǔ)軟件社區(qū)](https://dl-harmonyos.51cto.com/images/202210/079bddb83b23dca9f3438534e315bde74cebb0.png?x-oss-process=image/resize,w_820,h_404)
- 協(xié)議棧
模塊
| 全稱
| 功能
| 對(duì)應(yīng)模塊
|
HCI
| Host Controller Interface
| The HCI protocol provides a com- mand interface to the Bluetooth chipset。
| |
L2CAP
| Logical Link Control and Adaptation Protocal
| The L2CAP protocol supports higher level protocol multiplexing and packet frag- mentation. It provides the base for the RFCOMM and BNEP protocols.
| |
L2CAP LE
| LE Connection-Oriented Channels with LE Credit-Based Flow-Control Mode
| LE Data Channels are similar to Classic L2CAP Channels but also provide a credit-based flow control similar to RFCOMM Channels. Unless the LE Data Packet Extension of Bluetooth Core 4.2 specification is used, the maximum packet size for LE ACL packets is 27 bytes.
| |
RFCOMM
| Radio Frequency Communication Protocol
| RFCOMM provides emulation of serial ports over the L2CAP protocol and reassembly. It is the base for the Serial Port Profile and other profiles used for telecommunication like Head-Set Profile, Hands-Free Profile, Object Exchange (OBEX) etc.
| |
SDP
| Service Discovery Protocol
| The SDP protocol allows to an- nounce services and discover services provided by a remote Bluetooth device.
| |
BNEP
| Bluetooth Network Encapsulation Protocol
| The BNEP protocol is used to transport control and data packets over standard network protocols such as TCP, IPv4 or IPv6. It is built on top of L2CAP, and it specifies a minimum L2CAP MTU of 1691 bytes。
| |
ATT
| Attribute Protocol
| | |
SMP
| Security Manager Protocol
| | |
AVDTP
| Audio/Video Distribution Transport Protocol
| | |
AVCTP
| Audio/Video Control Transport Protocol
| | |
- Profile
模塊
| 全稱
| 功能
| 對(duì)應(yīng)
|
GATT
| Generic Attribute Profile
| For every LE device defines how one device can interact with GATT Services on a remote device.
| |
GAP
| Generic Access Profile
| For every Bluetooth device defines how devices find each other and how they establish a connection.
| |
SPP
| Serial Port Profile
| SPP basically specifies that a compatible device should provide a Service Discovery Protocol (SDP) record containing an RFCOMM channel number, which will be used for the actual communication.
| |
HSP
| Headset Profile
| The HSP profile defines how a Bluetooth- enabled headset should communicate with another Bluetooth enabled device.
| |
HFP
| Hands-Free Profile
| The HFP profile defines how a Bluetooth- enabled device, e.g. a car kit or a headset, can be used to place and receive calls via a audio gateway device, typically a mobile phone.
| |
HID
| Human-Interface Device
| The HID profile allows an HID Host to connect to one or more HID Devices and communicate with them.
| |
MFi/iAP2
| | | |
PBAP
| Phone Book Access Profile
| PBAP defines the protocols and procedures that shall be used by devices for the retrieval of phone book objects. It is based on a Client-Server interaction model where the Client device pulls phone book objects from the Server device.
| |
SDAP
| Service Discovery Application Profile
| SDAP describes how an application should use SDP to discover services on a remote device. SDAP requires that any application be able to find out what services are available on any Bluetooth enabled device it connects to.
| |
PAN
| Personal Area Networking Profile
| The PAN profile uses BNEP to provide on-demand networking capabilities between Bluetooth devices.
| |
A2DP
| Advanced Audio Distribution
| The A2DP profile defines how to stream audio over a Bluetooth connection from one device, such as a mobile phone, to another device such as a headset.
| |
MESH
| Mesh networking
| | |
??想了解更多關(guān)于開源的內(nèi)容,請(qǐng)?jiān)L問:??
??51CTO 開源基礎(chǔ)軟件社區(qū)??
??https://ost.51cto.com??。