Searched defs:src_role (Results 1 - 2 of 2) sorted by relevance

/external/bluetooth/bluedroid/bta/pan/
H A Dbta_pan_act.c55 BOOLEAN is_role_change, UINT8 src_role, UINT8 dst_role)
81 p_scb->local_role = src_role;
87 if(src_role == PAN_ROLE_CLIENT)
89 else if (src_role == PAN_ROLE_GN_SERVER)
91 else if (src_role == PAN_ROLE_NAP_SERVER)
54 bta_pan_conn_state_cback(UINT16 handle, BD_ADDR bd_addr, tPAN_RESULT state, BOOLEAN is_role_change, UINT8 src_role, UINT8 dst_role) argument
/external/bluetooth/bluedroid/stack/pan/
H A Dpan_api.c281 ** src_role - Role of the local device for the connection
296 tPAN_RESULT PAN_Connect (BD_ADDR rem_bda, UINT8 src_role, UINT8 dst_role, UINT16 *handle) argument
311 if (!(pan_cb.role & src_role))
313 PAN_TRACE_ERROR1 ("PAN is not active for the role %d", src_role);
318 if ((src_role != PAN_ROLE_CLIENT && src_role != PAN_ROLE_GN_SERVER && src_role != PAN_ROLE_NAP_SERVER) ||
321 PAN_TRACE_ERROR2 ("Either source %d or destination role %d is invalid", src_role, dst_role);
329 if (src_role == PAN_ROLE_CLIENT)
370 if (src_role
[all...]

Completed in 43 milliseconds