Lines Matching refs:rfcomm
96 GIOChannel *rfcomm; /* Remote RFCOMM channel*/ member
106 if (prx->rfcomm) { in disable_proxy()
107 g_io_channel_shutdown(prx->rfcomm, TRUE, NULL); in disable_proxy()
108 g_io_channel_unref(prx->rfcomm); in disable_proxy()
109 prx->rfcomm = NULL; in disable_proxy()
151 uuid_t uuid, root_uuid, l2cap, rfcomm; in proxy_record_new() local
181 sdp_uuid16_create(&rfcomm, RFCOMM_UUID); in proxy_record_new()
182 proto[1] = sdp_list_append(NULL, &rfcomm); in proxy_record_new()
234 dest = (chan == prx->rfcomm) ? prx->local : prx->rfcomm; in forward_data()
252 g_io_channel_shutdown(prx->rfcomm, TRUE, NULL); in forward_data()
253 g_io_channel_unref(prx->rfcomm); in forward_data()
254 prx->rfcomm = NULL; in forward_data()
402 g_io_add_watch(prx->rfcomm, in connect_event_cb()
413 g_io_channel_shutdown(prx->rfcomm, TRUE, NULL); in connect_event_cb()
414 g_io_channel_unref(prx->rfcomm); in connect_event_cb()
415 prx->rfcomm = NULL; in connect_event_cb()
428 if (!bt_io_accept(prx->rfcomm, connect_event_cb, prx, NULL, in auth_cb()
438 g_io_channel_shutdown(prx->rfcomm, TRUE, NULL); in auth_cb()
439 g_io_channel_unref(prx->rfcomm); in auth_cb()
440 prx->rfcomm = NULL; in auth_cb()
460 if (prx->rfcomm) { in confirm_event_cb()
468 prx->rfcomm = g_io_channel_ref(chan); in confirm_event_cb()
475 g_io_channel_unref(prx->rfcomm); in confirm_event_cb()
476 prx->rfcomm = NULL; in confirm_event_cb()
596 boolean = (prx->rfcomm ? TRUE : FALSE); in proxy_get_info()