From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: From: Claudio Takahasi To: bluez-devel@lists.sourceforge.net Subject: Re: [Bluez-devel] DBUS service support - poll patch In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <1115901694.18499.32.camel@pegasus> <1117098491.12036.23.camel@pegasus> <1117143615.12036.74.camel@pegasus> <1117494345.7072.235.camel@pegasus> <1117836644.3656.100.camel@pegasus> 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: Tue, 14 Jun 2005 08:37:59 -0300 Hi Marcel, There is a new patch available. http://www.indt.org.br/maemo/bluez/bluez-dbus-poll-v00.02.diff I read the Greg K.H. paper, I tryed adjust the code following his suggestion. Probably there are points that remain incorrect. Send me suggestions and comments that I will fix it. I am working on library for hidding D-BUS details. I don' t=20 know how provide it to the developers. Basically, this library will hide the code inside the pand_dbus_client.tar.gz Another subject that I want introduce is bridge creation. I think we discuss this subject before. Two approachs can be applied: 1. put in the pand daemon under optional feature advantages: can be shared between dbus and no-dbus=20 disadvantages: libbridge dependency=20 2. put it in a library(commented previously) advantages: This feature can be added with another=20 features/functions, like D-Bus message=20 functions, Zeroconf integration (UDHCP) or HOWL. UDHCP and HOWL D-BUS services are being developed. disadvantages: no-dbus pand daemon will not be able to=20 control bridges Regards, Claudio. On 6/6/05, Claudio Takahasi wrote: > Hi Marcel, >=20 > Probably you are not satisfied with D-Bus watches. I tryed remove > it, but it is not possible. > According with D-Bus documentation is not allowed read/write directly > in the file descriptor. DBusWatch must be used for main loop integration. >=20 > Another important approach is develop a library for D-Bus function > hidding. The sample client is just a usage sample and a better idea > is use a common library for all applications: gamming, UPnP, messenger, .= .. >=20 > Regarding the coding style I will review it. >=20 > Regards, > Claudio. >=20 > On 6/3/05, Marcel Holtmann wrote: > > Hi Claudio, > > > > > A new patch is available using a main loop and poll to wait for some = event > > > on a file descriptor list (D-Bus and Bluetooth). > > > > > > All Glib and pthread dependencies were remove. > > > > I just had some some time for a quick review. It is not fully what I ha= d > > in mind, but it is something from what we can work onwards. I think it > > is a good idea to include it into release 2.18 and then start on > > improving it. > > > > Since I am away the next week you might wanna address the coding style > > issues in that time. Read the paper from Greg KH from the OLS 2002. I > > think it gives a very good understanding on it. > > > > Regards > > > > Marcel > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you s= hotput > > a projector? How fast can you ride your desk chair down the office luge= track? > > If you want to score the big prize, get to know the little guy. > > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=3D20 > > _______________________________________________ > > Bluez-devel mailing list > > Bluez-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bluez-devel > > > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel