From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [Bluez-devel] [DBUS PATCH] BondingCreated && BondingFailed From: Marcel Holtmann To: bluez-devel@lists.sourceforge.net In-Reply-To: References: Content-Type: text/plain Message-Id: <1140201999.4747.16.camel@aeonflux.holtmann.net> Mime-Version: 1.0 Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri, 17 Feb 2006 19:46:39 +0100 Hi Claudio, > Here is another small patch... > > According with the BlueZ D-Bus API the bonding result must be sent > using the BondingCreated and BondingFailed signals. > > In the current code, the bonding result the status is added in the > signal argument. do something like signal = status ? DEV_SIG_BONDING_CREATED : DEV_SIG_BONDING_FAILED; and then call it with dbus_message_new_signal(..., signal). This end up in cleaner code and is easier to understand later. > The next step is start the development of the missing bonding > services: RemoveBonding, HasBonding and ListBonding. The textfile library should have all stuff for it all ready. So it should be really easy to add. Regards Marcel ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel