Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_pan.c96 static bt_status_t btpan_connect(const bt_bdaddr_t *bd_addr, int local_role, int remote_role);
98 static bt_status_t btpan_enable(int local_role);
221 static bt_status_t btpan_enable(int local_role) in btpan_enable() argument
224 BTIF_TRACE_DEBUG("%s - local_role: %d", __func__, local_role); in btpan_enable()
225 int bta_pan_role = btpan_role_to_bta(local_role); in btpan_enable()
227 btpan_dev_local_role = local_role; in btpan_enable()
240 static bt_status_t btpan_connect(const bt_bdaddr_t *bd_addr, int local_role, int remote_role) in btpan_connect() argument
242 BTIF_TRACE_DEBUG("local_role:%d, remote_role:%d", local_role, remote_role); in btpan_connect()
243 int bta_local_role = btpan_role_to_bta(local_role); in btpan_connect()
262 btpan_conn_local_role = bta_role_to_btpan(conn->local_role); in btif_in_pan_generic_evt()
[all …]
/system/bt/bta/pan/
Dbta_pan_api.c158 void BTA_PanOpen(BD_ADDR bd_addr, tBTA_PAN_ROLE local_role, tBTA_PAN_ROLE peer_role) in BTA_PanOpen() argument
164 p_buf->local_role = local_role; in BTA_PanOpen()
210 void BTA_PanOpen(BD_ADDR bd_addr, tBTA_PAN_ROLE local_role, tBTA_PAN_ROLE peer_role) in BTA_PanOpen() argument
213 UNUSED(local_role); in BTA_PanOpen()
Dbta_pan_act.c107 p_scb->local_role = src_role; in bta_pan_conn_state_cback()
471 …status = PAN_Connect (p_data->api_open.bd_addr, p_data->api_open.local_role, p_data->api_open.peer… in bta_pan_open()
479 p_scb->local_role = p_data->api_open.local_role; in bta_pan_open()
492 data.local_role = p_data->api_open.local_role; in bta_pan_open()
547 data.local_role = p_scb->local_role; in bta_pan_conn_open()
Dbta_pan_int.h104 tBTA_PAN_ROLE local_role; /* local role */ member
149 tBTA_PAN_ROLE local_role; /* local role */ member
/system/bt/bta/include/
Dbta_pan_api.h91 tBTA_PAN_ROLE local_role; /* Local device PAN role for the connection */ member
179 void BTA_PanOpen(BD_ADDR bd_addr, tBTA_PAN_ROLE local_role, tBTA_PAN_ROLE peer_role);
Dbta_pan_co.h81 extern void bta_pan_co_open(UINT16 handle, UINT8 app_id, tBTA_PAN_ROLE local_role, tBTA_PAN_ROLE pe…
/system/bt/btif/co/
Dbta_pan_co.c75 void bta_pan_co_open(UINT16 handle, UINT8 app_id, tBTA_PAN_ROLE local_role, in bta_pan_co_open() argument
79 "handle:%d", app_id, local_role, peer_role, handle); in bta_pan_co_open()
82 conn = btpan_new_conn(handle, peer_addr, local_role, peer_role); in bta_pan_co_open()
88 conn->local_role, conn->remote_role); in bta_pan_co_open()
/system/bt/btif/include/
Dbtif_pan_internal.h71 int local_role; member
95 btpan_conn_t *btpan_new_conn(int handle, const BD_ADDR addr, int local_role, int peer_role);