컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
bthf_interface_t 구조체 참조
#include < bt_hf.h >
|
size_t | 크기 |
|
bt_status_t (* | 초기화 )( bthf_callbacks_t *콜백, int max_hf_clients) |
|
bt_status_t (* | 연결 )(bt_bdaddr_t *bd_addr) |
|
bt_status_t (* | 연결 해제 )(bt_bdaddr_t *bd_addr) |
|
bt_status_t (* | connect_audio )(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 유형, int 볼륨, bt_bdaddr_t *bd_addr) |
|
bt_status_t (* | device_status_notification )( bthf_network_state_t ntk_state, bthf_service_type_t svc_type, int 신호, 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 응답 코드, int error_code, bt_bdaddr_t *bd_addr) |
|
bt_status_t (* | clcc_response )(int 인덱스, bthf_call_direction_t dir, bthf_call_state_t 상태, bthf_call_mode_t 모드, bthf_call_mpty_type_t mpty, const char *number, bthf_call_addrtype_t 유형, bt_bdaddr_t) *bd_ |
|
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 행에 정의가 있습니다.
정상/오류 응답 ERROR(0) OK(1)
bt_hf.h 파일의 271 행에 있는 정의입니다.
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) |
CLCC 명령에 대한 응답 각 호출 인덱스에 대해 반복적으로 호출될 수 있음 호출 인덱스가 0이면 NULL 종료로 처리됨(응답 완료)
bt_hf.h 파일의 277 행에 정의
bt_status_t (* 경찰_응답)(const char *경찰, bt_bdaddr_t *bd_addr) |
bt_status_t (* formatted_at_response)(const char *rsp, bt_bdaddr_t *bd_addr) |
일반적으로 알 수 없는 AT cmd에 대한 응답으로 사전 형식화된 AT 응답
bt_hf.h 파일의 265 행에 정의
호출 상태 변경 알림 각 업데이트 알림
- 활성/보류/벨이 울리는 통화 수
- 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) |
이 구조체에 대한 문서는 다음 파일에서 생성되었습니다.
- 하드웨어/libhardware/include/hardware/ bt_hf.h
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2022-08-30(UTC)
[{
"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":"기타"
}]