Home
last modified time | relevance | path

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

/system/bt/stack/pan/
Dpan_api.cc269 tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, uint8_t src_role, in PAN_Connect() argument
280 if (!(pan_cb.role & src_role)) { in PAN_Connect()
281 PAN_TRACE_ERROR("PAN is not active for the role %d", src_role); in PAN_Connect()
286 if ((src_role != PAN_ROLE_CLIENT && src_role != PAN_ROLE_GN_SERVER && in PAN_Connect()
287 src_role != PAN_ROLE_NAP_SERVER) || in PAN_Connect()
291 src_role, dst_role); in PAN_Connect()
300 if (src_role == PAN_ROLE_CLIENT) { in PAN_Connect()
331 if (src_role == PAN_ROLE_GN_SERVER) { in PAN_Connect()
342 src_role, dst_role); in PAN_Connect()
377 PAN_TRACE_DEBUG("PAN_Connect() current active role set to %d", src_role); in PAN_Connect()
[all …]
/system/bt/stack/include/
Dpan_api.h101 uint8_t src_role, uint8_t dst_role);
286 extern tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, uint8_t src_role,
/system/bt/bta/pan/
Dbta_pan_act.cc91 uint8_t src_role, uint8_t dst_role) { in bta_pan_conn_state_cback() argument
109 p_scb->local_role = src_role; in bta_pan_conn_state_cback()
115 if (src_role == PAN_ROLE_CLIENT) in bta_pan_conn_state_cback()
117 else if (src_role == PAN_ROLE_GN_SERVER) in bta_pan_conn_state_cback()
119 else if (src_role == PAN_ROLE_NAP_SERVER) in bta_pan_conn_state_cback()