Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/rfcomm/
Drfc_ts_frames.cc643 MX_FRAME* p_rx_frame = &rfc_cb.rfc.rx_frame; in rfc_process_mx_message() local
652 p_rx_frame->ea = *p_data & RFCOMM_EA; in rfc_process_mx_message()
653 p_rx_frame->cr = (*p_data & RFCOMM_CR_MASK) >> RFCOMM_SHIFT_CR; in rfc_process_mx_message()
654 p_rx_frame->type = *p_data++ & ~(RFCOMM_CR_MASK | RFCOMM_EA_MASK); in rfc_process_mx_message()
656 if (!p_rx_frame->ea || !length) { in rfc_process_mx_message()
657 log::error("Invalid MX frame ea={}, len={}, bd_addr={}", p_rx_frame->ea, in rfc_process_mx_message()
665 bool is_command = p_rx_frame->cr; in rfc_process_mx_message()
689 log::verbose("type=0x{:02x}, bd_addr={}", p_rx_frame->type, p_mcb->bd_addr); in rfc_process_mx_message()
690 switch (p_rx_frame->type) { in rfc_process_mx_message()
698 p_rx_frame->dlci = *p_data++ & RFCOMM_PN_DLCI_MASK; in rfc_process_mx_message()
[all …]