蓝牙 电话 HFP 剖析(一) --- 概述

来源:互联网 发布:vb与c#语法区别大吗 编辑:程序博客网 时间:2024/04/29 07:27

一.概述

    HFP(Hands-free Profile),可以让蓝牙设备可以控制电话,如接听、挂断、拒接、语音拨号等,拒接、语音拨号要视蓝牙耳机及电话是否支持。
    结构图:
   
    
定义了两种角色(role):
Audio Gateway (AG) – This is the device that is the gateway of the audio, both for input and 
output. Typical devices acting as Audio Gateways are cellular phones.
Hands-Free unit (HF) – This is the device acting as the Audio Gateway’s remote audio input 
and output mechanism. It also provides some remote control means
通常手机充当AG角色,耳机或者车机或者其他蓝牙设备充当HF角色

二.Feature

查看表中AG和HFP必须支持或者可选支持的列表

三.FLOW

HFP基本所有的过程都是基于AT command
列举一例:SLC建立

想列举所有的flow太多,一篇文章贴不过来
文章二会列表所有的AT command
文章三会根据空中包贴出flow(部分)

四.SDP注册部分

AG role的注册:

HF role的注册:

1 0
原创粉丝点击