Lines Matching refs:rfcomm
65 GIOChannel *rfcomm; member
197 if (!dev->gateway->rfcomm) { in newconnection_reply()
240 gw->rfcomm = g_io_channel_ref(chan); in rfcomm_connect_cb()
388 if (gw->rfcomm) { in gateway_close()
389 sock = g_io_channel_unix_get_fd(gw->rfcomm); in gateway_close()
392 g_io_channel_shutdown(gw->rfcomm, TRUE, NULL); in gateway_close()
393 g_io_channel_unref(gw->rfcomm); in gateway_close()
394 gw->rfcomm = NULL; in gateway_close()
425 if (!gw->rfcomm) in ag_disconnect()
598 dev->gateway->rfcomm = g_io_channel_ref(io); in gateway_connect_rfcomm()
625 if (gw->rfcomm == NULL) in gateway_start_service()
628 if (!bt_io_accept(gw->rfcomm, rfcomm_connect_cb, dev, NULL, &err)) { in gateway_start_service()
643 if (!gw->rfcomm) { in gateway_request_stream()
670 if (!gw->rfcomm) { in gateway_config_stream()