From owner-freebsd-bluetooth@FreeBSD.ORG Tue Mar 7 23:59:19 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22EF916A420 for ; Tue, 7 Mar 2006 23:59:19 +0000 (GMT) (envelope-from plunky@rya-online.net) Received: from mail09.svc.cra.dublin.eircom.net (mail09.svc.cra.dublin.eircom.net [159.134.118.25]) by mx1.FreeBSD.org (Postfix) with SMTP id 8E59743D48 for ; Tue, 7 Mar 2006 23:59:17 +0000 (GMT) (envelope-from plunky@rya-online.net) Received: (qmail 27954 messnum 2872816 invoked from network[83.70.176.191/unknown]); 7 Mar 2006 23:59:16 -0000 Received: from unknown (HELO rya-online.net) (83.70.176.191) by mail09.svc.cra.dublin.eircom.net (qp 27954) with SMTP; 7 Mar 2006 23:59:16 -0000 Received: (nullmailer pid 18340 invoked by uid 1000); Tue, 07 Mar 2006 23:58:38 -0000 Date: Tue, 7 Mar 2006 23:58:38 +0000 (GMT) To: Maksim Yevmenkin In-Reply-To: <440E0233.7080703@savvis.net> References: <1141762244.118700.5588.nullmailer@galant.ukfsn.org> <440DEE78.5020500@savvis.net> <1141767948.252179.12317.nullmailer@galant.ukfsn.org> <440E0233.7080703@savvis.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Message-Id: <1141775918.215241.15084.nullmailer@galant.ukfsn.org> From: Iain Hibbert Cc: freebsd-bluetooth@freebsd.org Subject: Re: whitespace 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: Tue, 07 Mar 2006 23:59:19 -0000 On Tue, 7 Mar 2006, Maksim Yevmenkin wrote: > then add appropriate #define's for shortcut access to the union fields. i can > then change freebsd code to use single 'struct sockaddr_bt' as well. Hm, this could work though there are a couple of differences still, in that I have used the bdaddr for HCI socket addressing where you use the text name of the node (I convert name->bdaddr via an ioctl() if necessary) Also, it is possible in my implementation to specify an alternate PSM for rfcomm sockets (as I read the spec, this is allowed..) iain