Searched refs:src_role (Results 1 – 3 of 3) sorted by relevance
/external/bluetooth/bluedroid/stack/pan/ |
D | pan_api.c | 297 tPAN_RESULT PAN_Connect (BD_ADDR rem_bda, UINT8 src_role, UINT8 dst_role, UINT16 *handle) in PAN_Connect() argument 312 if (!(pan_cb.role & src_role)) in PAN_Connect() 314 PAN_TRACE_ERROR ("PAN is not active for the role %d", src_role); in PAN_Connect() 319 …if ((src_role != PAN_ROLE_CLIENT && src_role != PAN_ROLE_GN_SERVER && src_role != PAN_ROLE_NAP_SER… in PAN_Connect() 322 PAN_TRACE_ERROR ("Either source %d or destination role %d is invalid", src_role, dst_role); in PAN_Connect() 330 if (src_role == PAN_ROLE_CLIENT) in PAN_Connect() 371 if (src_role == PAN_ROLE_GN_SERVER) in PAN_Connect() 387 src_role, dst_role); in PAN_Connect() 432 PAN_TRACE_DEBUG ("PAN_Connect() current active role set to %d", src_role); in PAN_Connect() 434 pan_cb.active_role = src_role; in PAN_Connect()
|
/external/bluetooth/bluedroid/bta/pan/ |
D | bta_pan_act.c | 90 BOOLEAN is_role_change, UINT8 src_role, UINT8 dst_role) in bta_pan_conn_state_cback() argument 116 p_scb->local_role = src_role; in bta_pan_conn_state_cback() 122 if(src_role == PAN_ROLE_CLIENT) in bta_pan_conn_state_cback() 124 else if (src_role == PAN_ROLE_GN_SERVER) in bta_pan_conn_state_cback() 126 else if (src_role == PAN_ROLE_NAP_SERVER) in bta_pan_conn_state_cback()
|
/external/bluetooth/bluedroid/stack/include/ |
D | pan_api.h | 98 UINT8 src_role, UINT8 dst_role); 309 PAN_API extern tPAN_RESULT PAN_Connect (BD_ADDR rem_bda, UINT8 src_role, UINT8 dst_role, UINT16 *ha…
|