Lines Matching refs:open
359 /* open the clone device */
362 if( (fd = open(clonedev, O_RDWR)) < 0 ) {
364 BTIF_TRACE_DEBUG2("could not open %s, err:%d", clonedev, errno);
549 /* debug("BTA_PAN_OPEN_EVT, open status:%d, bd_addr = [%02X:%02X:%02X:%02X:%02X:%02X]", */
550 /* p_data->open.status, */
551 /* p_data->open.bd_addr[0], p_data->open.bd_addr[1], p_data->open.bd_addr[2], */
552 /* p_data->open.bd_addr[3], p_data->open.bd_addr[4], p_data->open.bd_addr[5]); */
555 if(p_data->open.status == BTA_PAN_SUCCESS)
565 btpan_conn_t* conn = btpan_find_conn_handle(p_data->open.handle);
566 /* debug("BTA_PAN_OPEN_EVT handle:%d, conn:%p", p_data->open.handle, conn); */
568 int btpan_conn_local_role = bta_role_to_btpan(p_data->open.local_role);
569 /* debug("bta local_role:%d, bta remote role:%d", p_data->open.local_role, p_data->open.peer_role); */
570 int btpan_remote_role = bta_role_to_btpan(p_data->open.peer_role);
571 callback.connection_state_cb(state, status, (const bt_bdaddr_t*)p_data->open.bd_addr,