Home
last modified time | relevance | path

Searched refs:p_hci_log_ctl (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-latest/components/bt/common/hci_log/
Dbt_hci_log.c137 void bt_hci_log_record_hex(bt_hci_log_t *p_hci_log_ctl, uint8_t *hex, uint8_t hex_len) in bt_hci_log_record_hex() argument
142 g_hci_log_buffer = p_hci_log_ctl->p_hci_log_buffer; in bt_hci_log_record_hex()
148 g_hci_log_buffer[p_hci_log_ctl->log_record_in] = s_hex_to_char_mapping [hci_log_char]; in bt_hci_log_record_hex()
150 if (++ p_hci_log_ctl->log_record_in >= p_hci_log_ctl->buf_size) { in bt_hci_log_record_hex()
151 p_hci_log_ctl->log_record_in = 0; in bt_hci_log_record_hex()
153 if (p_hci_log_ctl->log_record_in == p_hci_log_ctl->log_record_out) { in bt_hci_log_record_hex()
154 p_hci_log_ctl->overflow = true; in bt_hci_log_record_hex()
159 g_hci_log_buffer[p_hci_log_ctl->log_record_in] = s_hex_to_char_mapping [hci_log_char]; in bt_hci_log_record_hex()
161 if (++p_hci_log_ctl->log_record_in >= p_hci_log_ctl->buf_size) { in bt_hci_log_record_hex()
162 p_hci_log_ctl->log_record_in = 0; in bt_hci_log_record_hex()
[all …]