From owner-freebsd-bluetooth@FreeBSD.ORG Mon Nov 12 17:03:24 2007 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 C813616A417 for ; Mon, 12 Nov 2007 17:03:24 +0000 (UTC) (envelope-from zkolic@sbb.co.yu) Received: from smtp2.sbb.co.yu (smtp2.sbb.co.yu [82.117.194.22]) by mx1.freebsd.org (Postfix) with ESMTP id 0900913C491 for ; Mon, 12 Nov 2007 17:03:11 +0000 (UTC) (envelope-from zkolic@sbb.co.yu) Received: from faust.net ([89.216.116.170]) by smtp2.sbb.co.yu (8.13.7/8.13.7) with ESMTP id lACH2dss023035 for ; Mon, 12 Nov 2007 18:02:39 +0100 Received: by faust.net (Postfix, from userid 1001) id 787FB1CC2F; Mon, 12 Nov 2007 18:02:37 +0100 (CET) Date: Mon, 12 Nov 2007 18:02:37 +0100 From: Zoran Kolic To: freebsd-bluetooth@freebsd.org Message-ID: <20071112170237.GA964@faust.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-SMTP-Vilter-Version: 1.3.2 X-SBB-Virus-Status: clean X-SBB-Spam-Score: 2.4 X-SBB-Spam-Level: XXXXX Subject: correct steps to put data on the phone 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: Mon, 12 Nov 2007 17:03:24 -0000 Howdy! Must to confess that I'm impressed with bluetooth in connecting different sort of devices. Such a nice toy as usb dongle I had not for a long time. I might need some advice for putting files from desk- top box to nokia phone with memory card. I found that loading ng_ubt gives enough magic to load further usb part and all necessary netgraph modules. Dongle is gigabyte bt03d and is recognized by the module. After giving /etc/rc.bluetooth script 555 privs, I could start/stop the stack. Reading along manual, I learnt that hcsecd should handle pairing of dongle and the phone. Is it a necessary step for the task I have in mind? I suppose I need paired devices to even think about it. Is it enough to start usage of obexapp? And finally, should I find the channel to operate on? If I get it right, flag has to be "-C IrMC". Or FTRN? Manual says app will find the correct channel just giving it the protocol. Do I need something more than this: kldload ng_ubt input dongle /etc/rc.bluetooth start ubt0 hcsecd obexapp -a bluetooth_address -C IrMC If I missed something important, please let me know. Not to forget, firewall should be set to handle this interaction. I use ipfw as stateful. If desktop starts the session, it will go like a charm. If the phone has to query, I must know the port to connect to. Any advice about configuration for this service? Best regards Zoran