ESP-IDF
hci_host_env
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
hci_host_env
hci_host_env variable
Syntax
Show:
Summary
Declaration
from
hci_layer.c:81
static
hci_host_env_t
hci_host_env
;
Examples
References
from
examples
Code
Location
Referrer
static
hci_host_env_t
hci_host_env
;
hci_layer.c:81
osi_event_bind
(
hci_host_env
.
downstream_data_ready
,
hci_host_thread
,
HCI_DOWNSTREAM_DATA_QUEUE_IDX
)
;
hci_layer.c:119
hci_start_up()
if
(
hci_host_env
.
downstream_data_ready
==
NULL
)
{
hci_layer.c:147
hci_downstream_data_post()
return
osi_thread_post_event
(
hci_host_env
.
downstream_data_ready
,
timeout
)
;
hci_layer.c:151
hci_downstream_data_post()
hci_host_env
.
command_credits
=
1
;
hci_layer.c:161
hci_layer_init_env()
hci_host_env
.
command_queue
=
fixed_pkt_queue_new
(
QUEUE_SIZE_MAX
)
;
hci_layer.c:162
hci_layer_init_env()
if
(
hci_host_env
.
command_queue
)
{
hci_layer.c:163
hci_layer_init_env()
fixed_pkt_queue_register_dequeue
(
hci_host_env
.
command_queue
,
event_command_ready
)
;
hci_layer.c:164
hci_layer_init_env()
hci_host_env
.
downstream_data_ready
=
event
;
hci_layer.c:172
hci_layer_init_env()
hci_host_env
.
packet_queue
=
fixed_queue_new
(
QUEUE_SIZE_MAX
)
;
hci_layer.c:174
hci_layer_init_env()
if
(
hci_host_env
.
packet_queue
)
{
hci_layer.c:175
hci_layer_init_env()
fixed_queue_register_dequeue
(
hci_host_env
.
packet_queue
,
event_packet_ready
)
;
hci_layer.c:176
hci_layer_init_env()
cmd_wait_q
=
&
hci_host_env
.
cmd_waiting_q
;
hci_layer.c:183
hci_layer_init_env()
osi_event_delete
(
hci_host_env
.
downstream_data_ready
)
;
hci_layer.c:207
hci_layer_deinit_env()
hci_host_env
.
downstream_data_ready
=
NULL
;
hci_layer.c:208
hci_layer_deinit_env()
if
(
hci_host_env
.
command_queue
)
{
hci_layer.c:210
hci_layer_deinit_env()
fixed_pkt_queue_free
(
hci_host_env
.
command_queue
,
(
fixed_pkt_queue_free_cb
)
osi_free_func
)
;
hci_layer.c:211
hci_layer_deinit_env()
if
(
hci_host_env
.
packet_queue
)
{
hci_layer.c:213
hci_layer_deinit_env()
fixed_queue_free
(
hci_host_env
.
packet_queue
,
osi_free_func
)
;
hci_layer.c:214
hci_layer_deinit_env()
cmd_wait_q
=
&
hci_host_env
.
cmd_waiting_q
;
hci_layer.c:217
hci_layer_deinit_env()
}
else
if
(
!
fixed_pkt_queue_is_empty
(
hci_host_env
.
command_queue
)
&&
hci_layer.c:242
hci_downstream_data_handler()
hci_host_env
.
command_credits
>
0
)
{
hci_layer.c:243
hci_downstream_data_handler()
fixed_pkt_queue_process
(
hci_host_env
.
command_queue
)
;
hci_layer.c:244
hci_downstream_data_handler()
}
else
if
(
!
fixed_queue_is_empty
(
hci_host_env
.
packet_queue
)
)
{
hci_layer.c:245
hci_downstream_data_handler()
fixed_queue_process
(
hci_host_env
.
packet_queue
)
;
hci_layer.c:246
hci_downstream_data_handler()
fixed_pkt_queue_enqueue
(
hci_host_env
.
command_queue
,
linked_pkt
,
FIXED_PKT_QUEUE_MAX_TIMEOUT
)
;
hci_layer.c:273
transmit_command()
fixed_pkt_queue_enqueue
(
hci_host_env
.
command_queue
,
linked_pkt
,
FIXED_PKT_QUEUE_MAX_TIMEOUT
)
;
hci_layer.c:294
transmit_command_futured()
fixed_queue_enqueue
(
hci_host_env
.
packet_queue
,
data
,
FIXED_QUEUE_MAX_TIMEOUT
)
;
hci_layer.c:305
transmit_downward()
command_waiting_response_t
*
cmd_wait_q
=
&
hci_host_env
.
cmd_waiting_q
;
hci_layer.c:316
event_command_ready()
hci_host_env
.
command_credits
--
;
hci_layer.c:329
event_command_ready()
STREAM_TO_UINT8
(
hci_host_env
.
command_credits
,
stream
)
;
hci_layer.c:452
filter_incoming_event()
STREAM_TO_UINT8
(
hci_host_env
.
command_credits
,
stream
)
;
hci_layer.c:479
filter_incoming_event()
restart_command_waiting_response_timer
(
&
hci_host_env
.
cmd_waiting_q
)
;
hci_layer.c:497
filter_incoming_event()
if
(
hci_host_env
.
command_credits
&&
hci_layer.c:500
filter_incoming_event()
!
fixed_pkt_queue_is_empty
(
hci_host_env
.
command_queue
)
)
{
hci_layer.c:501
filter_incoming_event()
command_waiting_response_t
*
cmd_wait_q
=
&
hci_host_env
.
cmd_waiting_q
;
hci_layer.c:565
get_waiting_command()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
hci_host_env
is read by 11 functions:
All items filtered out
hci_host_env
hci_start_up()
hci_downstream_data_post()
hci_layer_init_env()
hci_layer_deinit_env()
hci_downstream_data_handler()
transmit_command()
transmit_command_futured()
transmit_downward()
event_command_ready()
filter_incoming_event()
get_waiting_command()
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