Advanced Audio Distribution Profile (A2DP):高品质音乐传输
– Source (SRC)手机
Device acts as a source of a digital audio stream that is delivered to the SNK of the piconet
– Sink (SNK) 耳机
Device acts as a sink of a digital audio stream delivered from the SRC on the same piconet
实例:1)音乐播放器听音乐2)手机的触摸音;3)快门声;4)播放视频; 5)play FM;6)在线视频;7)
回连:
耳机连接蓝牙,关闭蓝牙打开蓝牙后自动连接,手机关开机后自动重连,手机飞行模式打开关闭后重连,关闭打开耳机后重连
连接pin code, default is 0000/1234
播放qq的消息优先走的A2DP,其次是hfp
播放微信视频走的是a2dp
编码有:SBC,LDAC,AAC,APTX
Audio/Video Remote Control Profile (AVRCP):音乐视频远程控制
– Controller(CT)蓝牙耳机
A device that initiates a transaction by sending a command frame to a target.(Headset、PC、PDA…)
– Target(TG) 手机,播放器
A device that receives a command frame and accordingly generates a response frame.(DUT、audio player…)
控制暂停播放上下,快进快退
AVRCP1.3和1.5的差别?
1.3包含了1.0 及对媒体播放器的状态支持
1.5包含了之前版本功能的修整,和对绝对音量的控制,增加了浏览功能等(和车机连接,对音乐文件夹的查看,同步dut,并可以在文件夹中点击播放音乐)
Headset Profile (HSP):(支持电话的接挂,调节音量大小)
It only define ring tone, answer a call, hang up and adjust the volume.
– Audio Gateway (AG)
- device that is the gateway of the audio, both for input and output.
– Headset (HS) - device acting as the Audio Gateway’s remote audio input and output mechanism
Hands-Free Profile (HFP):免提,用于接电话
The HFP also provides to functionality to do last number redial, call waiting, caller number, etc. (支持电话的接挂,调节音量大小,新增三方通话,保持通话,电话回拨等功能)
Audio Gateway (AG) 手机
– device that is the gateway of the audio, both for input and output.
Headset (HS)耳机,车机
– device acting as the Audio Gateway’s remote audio input and output mechanism
微信语音聊天,播放微信的消息优先走的hfp,其次走的a2dp
skype电话,拨打电话
收到MT Skype电话(通话时耳机中未听到铃声则没有走A2dp,什么都没走)
HFP1.5和1.6的区别:
1,.5支持CVSD
1.6支持MSBC,CVSD
提供免提通话功能,标准音频为窄频编码CVSD,HFP1.6加入宽频编码mSBC
Object Push Profile (OPP)可用于手机与手机间
OPP is used to transfer files between two Bluetooth devices.
OPP client: send files to remote device.
OPP server: receive files sent by remote device.
Opp1,1和1,2的差异:
1.1:传输速率慢,适用旧时的手机,传输时进度条同步,原理:类似于将文件打包传完再传下一个
1.2:传输速率快,传输进度不同步,需两端同时是1.2时则为支持1.2,原理:类似于将包塞入一个队列中,再给对方进行传输
Human Interface Device Profile (HID)( 如Microsoft Scuflt mouse)
– HID device: The device providing the service of human data input and output to and from the host. 滑鼠,键盘
– Host: The device using or requesting the services of a Human Interface Device.手机
HID Over GATT Profile(HOGP):(如a mad mouse,design mouse)
HOGP defines how a device with Bluetooth low energy wireless communications can support HID services over the Bluetooth low energy protocol stack using the Generic Attribute Profile.
低功耗的HID设备,基于通用属性协议
Phone Book Access Profile (PBAP) 电话本访问协议(同步手机的联系人,通话记录等,可打电话)
– Phone Book Server Equipment (PSE) – This is the device that contains the source phone book objects. 手机
– Phone Book Client Equipment (PCE) – This is the device that retrieves phone book objects from the Server Equipment.车机
Personal Area Networking Profile(PAN)
– Network Access Point (NAP) : provides some of the features of an Ethernet bridge to support network services , The device with the NAP service forwards Ethernet packets between each of the connected Bluetooth devices
– PAN User (PANU) : uses either the NAP or the GN service 使用其他设备的网
nap有没有网,panu有网,panu可以登录浏览器,未走pan
nap连接wifi无网,panu有网,panu可以登录浏览器,未走pan
nap和panu两端有网,panu可以联网,无法验证是否是pan
Message Access Profile (MAP)
– Message Server Equipment (MSE) – is the device that provides the message
repository engine i.e. has the ability to provide a client unit with messages that are
stored in this device and notifications of changes in its message repository.手机
– Message Client Equipment (MCE) – is the device that uses the message
repository engine of the MSE for browsing and displaying existing messages and to upload messages created on the MCE to the MSE.车机(对消息查看并且发送接受消息,且消息同步)
GSM message适用与联通与移动,CDMA适用于电信
Generic Attribute Profile(GATT) :通用属性协议
It defines a service framework using the Attribute Protocol. This framework defines procedures and formats of services and their characteristics.低功耗
Dial-up Networking Profile(DUN):拨号上网,不常用
SIM Access Profile (SAP) (sap将sim卡同步到车机,车机上进行通话并发送短信等,车机夺取了手机的sim信号)
– SAP client typically is a car kit. The SAP normally has a GSM/3G module to connect to the network via getting SIM content from SAP server.
– SAP server typically is a mobile phone.
PCM 不支持4G,不支持CDMA,不支持联通3G,所以支持移动2/3G 与联通2G
中国移动:
4g:TDD-LTE、3g:TD-SCDMA、2g:GSM
中国联通:
4g:TDD-LTE/FDD-LTE、3g:WCDMA、2g:GSM
中国电信:
4g:TDD-LTE/FDD-LTE、3g:CDMA2000、2g:CDMA
File Transfer Profile (FTP):文件传输,不常用
FTP Server
– Connect to a device which supports file-exchange service, says an FTP-server.
- Enable or disable FTP server
- Configure the permission of sharing folder
FTP Client
– Navigate the folders of FTP-server
– Manipulate - Create/delete file or file folder
– Exchange files with FTP-server. - push files to or pull files from FTP-server
对对方手机进行操纵,创建/删除文件或文件夹,使用FTP服务器交换文件
Basic Imaging Profile (BIP):传输图片
Basic Printing Profile (BPP):打印
Proximity Profile(PXP):两个设备间的距离监控。
Hid和hogp重连方式 不同,hogp重连时需要手机方点击name和设备方移动或输入来连接