ESP-IDF
HCI_TRACE_ERROR
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (4/5)...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
HCI_TRACE_ERROR
HCI_TRACE_ERROR macro
Syntax
Show:
Summary
Declaration
from
bt_trace.h:388
#define
HCI_TRACE_ERROR
(
fmt
,
args
...
)
{
if
(
HCI_INITIAL_TRACE_LEVEL
>=
BT_TRACE_LEVEL_ERROR
&&
BT_LOG_LEVEL_CHECK
(
HCI
,
ERROR
)
)
BT_PRINT_E
(
"BT_HCI"
,
fmt
,
##
args
)
;
}
Arguments
Argument
fmt
args
Examples
References
from
examples
Code
Location
#define
HCI_TRACE_ERROR
(
fmt
,
args
...
)
{
if
(
HCI_INITIAL_TRACE_LEVEL
>=
BT_TRACE_LEVEL_ERROR
&&
BT_LOG_LEVEL_CHECK
(
HCI
,
ERROR
)
)
BT_PRINT_E
(
"BT_HCI"
,
fmt
,
##
args
)
;
}
bt_trace.h:388
HCI_TRACE_ERROR
(
"Unexpected HCI BLE event = 0x%02x"
,
ble_sub_code
)
;
btu_hcif.c:359
HCI_TRACE_ERROR
(
"%s p_buf is NULL"
,
__func__
)
;
btu_hcif.c:445
HCI_TRACE_ERROR
(
"%s p_buf is NULL"
,
__func__
)
;
btu_hcif.c:487
HCI_TRACE_ERROR
(
"%s sync_info error"
,
__func__
)
;
btu_hcif.c:492
HCI_TRACE_ERROR
(
"hci write adv params error 0x%x"
,
status
)
;
btu_hcif.c:1030
HCI_TRACE_ERROR
(
"hci connection params reply command error 0x%x"
,
status
)
;
btu_hcif.c:1037
HCI_TRACE_ERROR
(
"hci connection params neg reply command error %x"
,
status
)
;
btu_hcif.c:1044
HCI_TRACE_ERROR
(
"CC evt: op=0x%x, status=0x%x"
,
opcode
,
status
)
;
btu_hcif.c:1156
HCI_TRACE_ERROR
(
"CS evt: LE PA CreateSync status=0x%x"
,
status
)
;
btu_hcif.c:1294
HCI_TRACE_ERROR
(
"CS evt: LE SetPhy status=0x%x"
,
status
)
;
btu_hcif.c:1304
HCI_TRACE_ERROR
(
"Ctlr H/w error event - code:0x%x\n"
,
*
p
)
;
btu_hcif.c:1495
HCI_TRACE_ERROR
(
"%s, Invalid params."
,
__func__
)
;
btu_hcif.c:2128
HCI_TRACE_ERROR
(
"%s, Invalid params."
,
__func__
)
;
btu_hcif.c:2179
HCI_TRACE_ERROR
(
"%s, Invalid number reports is 0"
,
__func__
)
;
btu_hcif.c:2186
HCI_TRACE_ERROR
(
"%s, Invalid params."
,
__func__
)
;
btu_hcif.c:2249
HCI_TRACE_ERROR
(
"%s, Invalid params."
,
__func__
)
;
btu_hcif.c:2272
HCI_TRACE_ERROR
(
"%s, Invalid params, the adv len is too short."
,
__func__
)
;
btu_hcif.c:2277
HCI_TRACE_ERROR
(
"%s, Invalid ev_len = %d is less than adv len = %d"
,
__func__
,
evt_len
,
adv_report
.
data_length
)
;
btu_hcif.c:2289
HCI_TRACE_ERROR
(
"%s, Invalid params."
,
__func__
)
;
btu_hcif.c:2308
HCI_TRACE_ERROR
(
"%s, Invalid params."
,
__func__
)
;
btu_hcif.c:2329
HCI_TRACE_ERROR
(
"%s, Invalid params."
,
__func__
)
;
btu_hcif.c:2346
HCI_TRACE_ERROR
(
"%s, Invalid params."
,
__func__
)
;
btu_hcif.c:2362
HCI_TRACE_ERROR
(
"%s Unable to create alarm"
,
__func__
)
;
btu_task.c:445
HCI_TRACE_ERROR
(
"%s Unable to create alarm"
,
__func__
)
;
btu_task.c:560
HCI_TRACE_ERROR
(
"%s Unable to create alarm"
,
__func__
)
;
btu_task.c:646
HCI_TRACE_ERROR
(
"%s invalid data type: %d"
,
__func__
,
type
)
;
hci_hal_h4.c:203
HCI_TRACE_ERROR
(
"Workaround stream corrupted during LE SCAN: pkt_len=%d ble_event_len=%d\n"
,
hci_hal_h4.c:441
HCI_TRACE_ERROR
(
"%s Unknown HCI message type. Dropping this byte 0x%x,"
hci_hal_h4.c:447
HCI_TRACE_ERROR
(
"Wrong packet length type=%d pkt_len=%d hdr_len=%d"
,
hci_hal_h4.c:455
HCI_TRACE_ERROR
(
"Wrong packet length type=%d hdr_len=%d pd_len=%d "
hci_hal_h4.c:469
HCI_TRACE_ERROR
(
"Wrong packet length type=%d pkt_len=%d hdr_len=%d"
,
hci_hal_h4.c:501
HCI_TRACE_ERROR
(
"Wrong packet length type=%d hdr_len=%d pd_len=%d "
hci_hal_h4.c:509
HCI_TRACE_ERROR
(
"%s couldn't acquire memory for inbound data buffer.\n"
,
__func__
)
;
hci_hal_h4.c:579
HCI_TRACE_ERROR
(
"%s unable to create pending command queue."
,
__func__
)
;
hci_layer.c:166
HCI_TRACE_ERROR
(
"%s unable to create pending packet queue."
,
__func__
)
;
hci_layer.c:178
HCI_TRACE_ERROR
(
"%s unable to create list for commands pending response."
,
__func__
)
;
hci_layer.c:187
HCI_TRACE_ERROR
(
"%s unable to create command response timer."
,
__func__
)
;
hci_layer.c:193
HCI_TRACE_ERROR
(
"%s legacy transmit of command. Use transmit_command instead.\n"
,
__func__
)
;
hci_layer.c:302
HCI_TRACE_ERROR
(
"%s with no commands pending response"
,
__func__
)
;
hci_layer.c:409
HCI_TRACE_ERROR
(
"%s hci layer timeout waiting for response to a command. opcode: 0x%x"
,
__func__
,
metadata
->
opcode
)
;
hci_layer.c:415
HCI_TRACE_ERROR
(
"%s invalid event type, could not translate 0x%x\n"
,
__func__
,
event
)
;
hci_layer.c:557
HCI_TRACE_ERROR
(
"%s() - WARNING: READING EXTENDED FEATURES FAILED. "
hci_packet_parser.c:125
HCI_TRACE_ERROR
(
"%s failed: opcode 0x%04x, status 0x%02x"
,
__func__
,
opcode
,
status
)
;
hci_packet_parser.c:264
HCI_TRACE_ERROR
(
"%s got continuation for unknown packet. Dropping it.\n"
,
__func__
)
;
packet_fragmenter.c:196
HCI_TRACE_ERROR
(
"%s got packet which would exceed expected length of %d. Truncating.\n"
,
__func__
,
partial_packet
->
len
)
;
packet_fragmenter.c:205
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