使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
bthf_interface_t 结构参考
#include < bt_hf.h >
|
尺寸_t | 尺寸 |
|
bt_status_t (* | init )( bthf_callbacks_t *callbacks, int max_hf_clients) |
|
bt_status_t (* | 连接)(bt_bdaddr_t *bd_addr) |
|
bt_status_t (* | 断开)(bt_bdaddr_t *bd_addr) |
|
bt_status_t (* | 连接音频 )( bt_bdaddr_t *bd_addr) |
|
bt_status_t (* | disconnect_audio )(bt_bdaddr_t *bd_addr) |
|
bt_status_t (* | start_voice_recognition )(bt_bdaddr_t *bd_addr) |
|
bt_status_t (* | stop_voice_recognition )(bt_bdaddr_t *bd_addr) |
|
bt_status_t (* | volume_control )( bthf_volume_type_t type, int volume, bt_bdaddr_t *bd_addr) |
|
bt_status_t (* | device_status_notification )( bthf_network_state_t ntk_state, bthf_service_type_t svc_type, int signal, int batt_chg) |
|
bt_status_t (* | cops_response )(const char *cops, bt_bdaddr_t *bd_addr) |
|
bt_status_t (* | cind_response )(int svc,int num_active,int num_held, bthf_call_state_t call_setup_state,int 信号,int roam,int batt_chg,bt_bdaddr_t *bd_addr) |
|
bt_status_t (* | formatted_at_response )(const char *rsp, bt_bdaddr_t *bd_addr) |
|
bt_status_t (* | at_response )( bthf_at_response_t response_code, int error_code, bt_bdaddr_t *bd_addr) |
|
bt_status_t (* | clcc_response )(int index, bthf_call_direction_t dir, bthf_call_state_t state, bthf_call_mode_t mode, bthf_call_mpty_type_t mpty , const char *number, bthf_call_addrtype_t type, bt_bdaddr_t *bd_addr) |
|
bt_status_t (* | phone_state_change )(int num_active, int num_held, bthf_call_state_t call_setup_state, const char *number, bthf_call_addrtype_t类型) |
|
空白(* | 清理)(无效) |
|
bt_status_t (* | configure_wbs )(bt_bdaddr_t *bd_addr, bthf_wbs_config_t配置) |
|
代表标准 BT-HF 接口。
在文件bt_hf.h的第223行定义。
bt_status_t (* cind_response)(int svc, int num_active, int num_held, bthf_call_state_t call_setup_state, int signal, int roam, int batt_chg, bt_bdaddr_t *bd_addr) |
CLCC 命令的响应 可以为每个调用索引迭代调用 调用索引为 0 将被视为 NULL 终止(完成响应)
在文件bt_hf.h的第277行定义。
bt_status_t (* cops_response)(const char *cops, bt_bdaddr_t *bd_addr) |
bt_status_t (* formatted_at_response)(const char *rsp, bt_bdaddr_t *bd_addr) |
通知呼叫状态变化每次更新通知
- 活动/保持/振铃呼叫数
- call_state:这表示触发此消息的状态更改这将采用 BtHfCallState 中的值之一
- 号码和类型:仅对来电和等待电话有效
在文件bt_hf.h的第289行定义。
bt_status_t (* start_voice_recognition)(bt_bdaddr_t *bd_addr) |
bt_status_t (* stop_voice_recognition)(bt_bdaddr_t *bd_addr) |
此结构的文档是从以下文件生成的:
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-08-30。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]