Return-Path: Message-ID: <164817.58049.qm@web111619.mail.gq1.yahoo.com> References: <492322.54247.qm@web111608.mail.gq1.yahoo.com> <53036801-BEF0-4088-BE8B-BFE7A1C6F1AA@signove.com> Date: Mon, 9 May 2011 18:11:09 -0700 (PDT) From: Phaneeth Kumar Subject: Re: HDP: Any Bluez Sample C code for Health sink? To: linux-bluetooth@vger.kernel.org In-Reply-To: <53036801-BEF0-4088-BE8B-BFE7A1C6F1AA@signove.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: > > Hi All, > > > > I am new to the whole DBus way of accessing API and the Bluez Health API. I >am > > > trying to build a generic HDP sink in C and I am totally lost. > > All the sample codes that I find are in Python and scripting isn't really an > > > option for this application. > > Is there any sample C code available that uses Bluez in general and HDP > > interface in Bluez in particular? > > It is not a textbook example, but Antidote's HDP plug-in does use HDP D-Bus > API and it is written in C: > > http://gitorious.org/antidote/antidote/blobs/master/src/communication/plugin > > bluez/plugin_bluez.c and other sources in the same folder. Thanks Jos? and Elvis. Regards, Phaneeth