Home
last modified time | relevance | path

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

/system/bt/stack/rfcomm/
Drfc_ts_frames.cc635 MX_FRAME* p_rx_frame = &rfc_cb.rfc.rx_frame; in rfc_process_mx_message() local
647 p_rx_frame->ea = *p_data & RFCOMM_EA; in rfc_process_mx_message()
648 p_rx_frame->cr = (*p_data & RFCOMM_CR_MASK) >> RFCOMM_SHIFT_CR; in rfc_process_mx_message()
649 p_rx_frame->type = *p_data++ & ~(RFCOMM_CR_MASK | RFCOMM_EA_MASK); in rfc_process_mx_message()
651 if (!p_rx_frame->ea || !length) { in rfc_process_mx_message()
653 << ": Invalid MX frame ea=" << std::to_string(p_rx_frame->ea) in rfc_process_mx_message()
661 bool is_command = p_rx_frame->cr; in rfc_process_mx_message()
687 RFCOMM_TRACE_DEBUG("%s: type=0x%02x, bd_addr=%s", __func__, p_rx_frame->type, in rfc_process_mx_message()
689 switch (p_rx_frame->type) { in rfc_process_mx_message()
697 p_rx_frame->dlci = *p_data++ & RFCOMM_PN_DLCI_MASK; in rfc_process_mx_message()
[all …]