Return-Path: Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: References: <4641DA61.8040709@tao-group.com> <1178722356.8628.96.camel@aeonflux.holtmann.net> <4641E662.6080303@tao-group.com> <1178724426.8628.102.camel@aeonflux.holtmann.net> <4641EA96.7070204@tao-group.com> <1178726532.8628.107.camel@aeonflux.holtmann.net> Message-Id: <7D2A6046-AC66-4992-9875-28101C52FA20@gmail.com> From: Johan Hedberg Date: Thu, 10 May 2007 01:29:56 +0300 To: BlueZ users Subject: Re: [Bluez-users] API documentation? Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net Hi Mark, On May 9, 2007, at 19:27, Mark S. Townsley wrote: > I am trying to follow your advice and use the D-BUS API instead of > the low-level HCI API. > However, no matter which D-BUS method I issued, I got back this error: > > The name org.bluez was not provided by any .service files > > I tried to search online but could not find any answer. I searched > the archive, nothing comes up. Can you provide your expertise on > this one? What are these .service files? How can I make one for > org.bluez? I'm kind of surprised you haven't figured this out already. All you need is a running hcid process, and you need to use the system bus (it's not clear from your description whether you used the session or the system bus). hcid provides the D-Bus well known name org.bluez on the system bus. Because your D-Bus client doesn't find org.bluez (i.e. hcid is not running) it tries to see if it is activatable but does not find any .service file which would describe how to activate it (because hcid is not meant to be activated by D-Bus, but should e.g. be run from an init script). Johan ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users