From owner-freebsd-bluetooth@FreeBSD.ORG Wed Nov 3 18:21:07 2010 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC1911065674 for ; Wed, 3 Nov 2010 18:21:07 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9347A8FC18 for ; Wed, 3 Nov 2010 18:21:07 +0000 (UTC) Received: by iwn39 with SMTP id 39so1004008iwn.13 for ; Wed, 03 Nov 2010 11:21:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=+yDItfYV6Dv4GlA82qHlolulk4qX8xOMclvM8WqdkQs=; b=E0ObzeK7rFlE8eiG0/aWnntKHKo3en+EW0CmUwORcUuf4svv0lhi1pUUddgqp2Sztr Mw3YLaoX9esY+fgdjNC23JEJB6Y1TFappgG/PBWEbt52lFuxfONZ/k3GI87yr7dTFU9t I9Qnz+zCTszpjN0UY3HqeE7bIaII5VgC0MOYc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=KD/ipIGB0Jl3siPt2DZPznJMr2yPPNqLzODHUI1aaTkM9lRu0uakUNTWADs4GLpJ3o V9RlsXBDFZPZx+Oi+lubgBchBa+s14KsWOQEV72MQhqihqAuTmLsyPYTtd62AtU6Wlir zyPKF5Az7IkPpBXFNji9TCI4iHlt+ikYNGUYs= MIME-Version: 1.0 Received: by 10.231.31.1 with SMTP id w1mr8180786ibc.162.1288808466643; Wed, 03 Nov 2010 11:21:06 -0700 (PDT) Received: by 10.231.191.206 with HTTP; Wed, 3 Nov 2010 11:21:06 -0700 (PDT) In-Reply-To: References: Date: Wed, 3 Nov 2010 11:21:06 -0700 Message-ID: From: Maksim Yevmenkin To: Iain Hibbert Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-bluetooth@freebsd.org Subject: Re: obexapp alloc server channel X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 18:21:07 -0000 Iain, > one more thing for obexapp, I think FreeBSD has the thing of RFCOMM where > you can bind() to channel 0 and use getsockname() after listen() in order > to find the allocated channel? It was discussed on the list some time ago > anyway, and I did implement it on NetBSD (using RFCOMM_CHANNEL_ANY == 0) > > The patch attached implements this functionality in obexapp, allowing -C > to be optional in server mode. cool. thanks! max