ESP-IDF
btc_hf_client_args_t
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
btc_hf_client_args_t
btc_hf_client_args_t union
Syntax
Show:
Summary
Declaration
from
btc_hf_client.h:59
typedef
union
{
bt_bdaddr_t
connect
;
bt_bdaddr_t
disconnect
;
bt_bdaddr_t
connect_audio
;
bt_bdaddr_t
disconnect_audio
;
struct
volume_update_args
{
esp_hf_volume_control_target_t
type
;
int
volume
;
}
volume_update
;
struct
dial_args
{
char
number
[
ESP_BT_HF_CLIENT_NUMBER_LEN
+
1
]
;
}
dial
;
struct
dial_memory_args
{
int
location
;
}
dial_memory
;
struct
send_chld_cmd_args
{
esp_hf_chld_type_t
type
;
int
idx
;
}
chld
;
struct
send_btrh_cmd_args
{
esp_hf_btrh_cmd_t
cmd
;
}
btrh
;
struct
send_dtmf
{
char
code
;
}
send_dtmf
;
struct
hf_client_reg_data_callback
{
esp_hf_client_incoming_data_cb_t
recv
;
esp_hf_client_outgoing_data_cb_t
send
;
}
reg_data_cb
;
struct
send_xapl_args
{
char
information
[
ESP_BT_HF_AT_SEND_XAPL_LEN
+
1
]
;
uint32_t
features
;
}
send_xapl
;
struct
send_iphoneaccev_args
{
uint32_t
bat_level
;
bool
docked
;
}
send_iphoneaccev
;
struct
hf_client_req_pkt_stat_sync_handle
{
UINT16
sync_conn_handle
;
}
pkt_sync_hd
;
}
btc_hf_client_args_t
;
Fields
Field
Declared as
btc_hf_client_args_t::connect
bt_bdaddr_t
btc_hf_client_args_t::disconnect
bt_bdaddr_t
btc_hf_client_args_t::connect_audio
bt_bdaddr_t
btc_hf_client_args_t::disconnect_audio
bt_bdaddr_t
btc_hf_client_args_t::volume_update
struct
volume_update_args
{
esp_hf_volume_control_target_t
type
;
int
volume
;
}
btc_hf_client_args_t::dial
struct
dial_args
{
char
number
[
ESP_BT_HF_CLIENT_NUMBER_LEN
+
1
]
;
}
btc_hf_client_args_t::dial_memory
struct
dial_memory_args
{
int
location
;
}
btc_hf_client_args_t::chld
struct
send_chld_cmd_args
{
esp_hf_chld_type_t
type
;
int
idx
;
}
btc_hf_client_args_t::btrh
struct
send_btrh_cmd_args
{
esp_hf_btrh_cmd_t
cmd
;
}
btc_hf_client_args_t::send_dtmf
struct
send_dtmf
{
char
code
;
}
btc_hf_client_args_t::reg_data_cb
struct
hf_client_reg_data_callback
{
esp_hf_client_incoming_data_cb_t
recv
;
esp_hf_client_outgoing_data_cb_t
send
;
}
btc_hf_client_args_t::send_xapl
struct
send_xapl_args
{
char
information
[
ESP_BT_HF_AT_SEND_XAPL_LEN
+
1
]
;
uint32_t
features
;
}
btc_hf_client_args_t::send_iphoneaccev
struct
send_iphoneaccev_args
{
uint32_t
bat_level
;
bool
docked
;
}
btc_hf_client_args_t::pkt_sync_hd
struct
hf_client_req_pkt_stat_sync_handle
{
UINT16
sync_conn_handle
;
}
Examples
References
from
examples
Code
Location
Referrer
typedef
union
{
btc_hf_client.h:59
}
btc_hf_client_args_t
;
btc_hf_client.h:127
btc_hf_client_args_t
*
arg
=
(
btc_hf_client_args_t
*
)
(
msg
->
arg
)
;
btc_hf_client.c:1120
btc_hf_client_call_handler()
}
btc_hf_client_args_t
;
btc_hf_client.h:127
btc_hf_client_args_t
btc_hf_client_args_t
arg
;
esp_hf_client_api.c:73
esp_hf_client_connect()
memset
(
&
arg
,
0
,
sizeof
(
btc_hf_client_args_t
)
)
;
esp_hf_client_api.c:80
esp_hf_client_connect()
stat
=
btc_transfer_context
(
&
msg
,
&
arg
,
sizeof
(
btc_hf_client_args_t
)
,
NULL
,
NULL
)
;
esp_hf_client_api.c:84
esp_hf_client_connect()
btc_hf_client_args_t
arg
;
esp_hf_client_api.c:95
esp_hf_client_disconnect()
memset
(
&
arg
,
0
,
sizeof
(
btc_hf_client_args_t
)
)
;
esp_hf_client_api.c:102
esp_hf_client_disconnect()
stat
=
btc_transfer_context
(
&
msg
,
&
arg
,
sizeof
(
btc_hf_client_args_t
)
,
NULL
,
NULL
)
;
esp_hf_client_api.c:106
esp_hf_client_disconnect()
btc_hf_client_args_t
arg
;
esp_hf_client_api.c:117
esp_hf_client_connect_audio()
memset
(
&
arg
,
0
,
sizeof
(
btc_hf_client_args_t
)
)
;
esp_hf_client_api.c:124
esp_hf_client_connect_audio()
stat
=
btc_transfer_context
(
&
msg
,
&
arg
,
sizeof
(
btc_hf_client_args_t
)
,
NULL
,
NULL
)
;
esp_hf_client_api.c:128
esp_hf_client_connect_audio()
btc_hf_client_args_t
arg
;
esp_hf_client_api.c:139
esp_hf_client_disconnect_audio()
memset
(
&
arg
,
0
,
sizeof
(
btc_hf_client_args_t
)
)
;
esp_hf_client_api.c:146
esp_hf_client_disconnect_audio()
stat
=
btc_transfer_context
(
&
msg
,
&
arg
,
sizeof
(
btc_hf_client_args_t
)
,
NULL
,
NULL
)
;
esp_hf_client_api.c:150
esp_hf_client_disconnect_audio()
btc_hf_client_args_t
arg
;
esp_hf_client_api.c:196
esp_hf_client_volume_update()
memset
(
&
arg
,
0
,
sizeof
(
btc_hf_client_args_t
)
)
;
esp_hf_client_api.c:202
esp_hf_client_volume_update()
bt_status_t
stat
=
btc_transfer_context
(
&
msg
,
&
arg
,
sizeof
(
btc_hf_client_args_t
)
,
NULL
,
NULL
)
;
esp_hf_client_api.c:207
esp_hf_client_volume_update()
btc_hf_client_args_t
arg
;
esp_hf_client_api.c:218
esp_hf_client_dial()
memset
(
&
arg
,
0
,
sizeof
(
btc_hf_client_args_t
)
)
;
esp_hf_client_api.c:228
esp_hf_client_dial()
bt_status_t
stat
=
btc_transfer_context
(
&
msg
,
&
arg
,
sizeof
(
btc_hf_client_args_t
)
,
NULL
,
NULL
)
;
esp_hf_client_api.c:236
esp_hf_client_dial()
btc_hf_client_args_t
arg
;
esp_hf_client_api.c:247
esp_hf_client_dial_memory()
memset
(
&
arg
,
0
,
sizeof
(
btc_hf_client_args_t
)
)
;
esp_hf_client_api.c:253
esp_hf_client_dial_memory()
bt_status_t
stat
=
btc_transfer_context
(
&
msg
,
&
arg
,
sizeof
(
btc_hf_client_args_t
)
,
NULL
,
NULL
)
;
esp_hf_client_api.c:257
esp_hf_client_dial_memory()
btc_hf_client_args_t
arg
;
esp_hf_client_api.c:268
esp_hf_client_send_chld_cmd()
memset
(
&
arg
,
0
,
sizeof
(
btc_hf_client_args_t
)
)
;
esp_hf_client_api.c:274
esp_hf_client_send_chld_cmd()
bt_status_t
stat
=
btc_transfer_context
(
&
msg
,
&
arg
,
sizeof
(
btc_hf_client_args_t
)
,
NULL
,
NULL
)
;
esp_hf_client_api.c:279
esp_hf_client_send_chld_cmd()
btc_hf_client_args_t
arg
;
esp_hf_client_api.c:290
esp_hf_client_send_btrh_cmd()
memset
(
&
arg
,
0
,
sizeof
(
btc_hf_client_args_t
)
)
;
esp_hf_client_api.c:296
esp_hf_client_send_btrh_cmd()
bt_status_t
stat
=
btc_transfer_context
(
&
msg
,
&
arg
,
sizeof
(
btc_hf_client_args_t
)
,
NULL
,
NULL
)
;
esp_hf_client_api.c:300
esp_hf_client_send_btrh_cmd()
btc_hf_client_args_t
arg
;
esp_hf_client_api.c:396
esp_hf_client_send_dtmf()
memset
(
&
arg
,
0
,
sizeof
(
btc_hf_client_args_t
)
)
;
esp_hf_client_api.c:402
esp_hf_client_send_dtmf()
bt_status_t
stat
=
btc_transfer_context
(
&
msg
,
&
arg
,
sizeof
(
btc_hf_client_args_t
)
,
NULL
,
NULL
)
;
esp_hf_client_api.c:406
esp_hf_client_send_dtmf()
btc_hf_client_args_t
arg
;
esp_hf_client_api.c:421
esp_hf_client_send_xapl()
memset
(
&
arg
,
0
,
sizeof
(
btc_hf_client_args_t
)
)
;
esp_hf_client_api.c:427
esp_hf_client_send_xapl()
bt_status_t
stat
=
btc_transfer_context
(
&
msg
,
&
arg
,
sizeof
(
btc_hf_client_args_t
)
,
NULL
,
NULL
)
;
esp_hf_client_api.c:432
esp_hf_client_send_xapl()
btc_hf_client_args_t
arg
;
esp_hf_client_api.c:447
esp_hf_client_send_iphoneaccev()
memset
(
&
arg
,
0
,
sizeof
(
btc_hf_client_args_t
)
)
;
esp_hf_client_api.c:453
esp_hf_client_send_iphoneaccev()
bt_status_t
stat
=
btc_transfer_context
(
&
msg
,
&
arg
,
sizeof
(
btc_hf_client_args_t
)
,
NULL
,
NULL
)
;
esp_hf_client_api.c:458
esp_hf_client_send_iphoneaccev()
btc_hf_client_args_t
arg
;
esp_hf_client_api.c:508
esp_hf_client_register_data_callback()
memset
(
&
arg
,
0
,
sizeof
(
btc_hf_client_args_t
)
)
;
esp_hf_client_api.c:509
esp_hf_client_register_data_callback()
bt_status_t
stat
=
btc_transfer_context
(
&
msg
,
&
arg
,
sizeof
(
btc_hf_client_args_t
)
,
NULL
,
NULL
)
;
esp_hf_client_api.c:514
esp_hf_client_register_data_callback()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out