Hi Padovan, Gustavo F. Padovan wrote: > Hi Zhenhua, > > * Zhang, Zhenhua <zhenhua.zhang@xxxxxxxxx> [2010-05-10 08:41:59 > +0800]: > > ... > >>> +DUNAgent hierarchy >>> +=============== >>> + >>> +Service unique name >>> +Interface org.bluez.DUNAgent >>> +Object path freely definable >>> + >>> +Methods void NewConnection(filedescriptor fd) >>> + >>> + This method gets called whenever a new DUN >>> + connection has been established. The objectpath >>> + contains the object path of the remote >>> device. This >>> + method assumes that DBus daemon with >>> file descriptor >>> + passing capability is being used. >>> + >>> + The agent should only return >>> successfully once the >>> + establishment of the data call has been fineshed >> >> A typo 'fineshed' should be 'finished'. > > Thanks. ;) > >> >>> + without problems. >>> + >>> + Possible Errors: >>> org.bluez.Error.InvalidArguments >>> + org.bluez.Error.Failed >>> + >>> + void Release() >>> + >>> + This method gets called whenever the service daemon >>> + unregisters the agent. >> >> Compared with hfp-api.txt, I think we should also add the > sentence like "or whenever the Adapter where the DUNAgent > registers itself is removed". > > Or we can remove that sentence from hfp-api, since when a > adapter is removed bluetoothd relaese all agents on that adapter. > Well. It's all upon on you. I am fine. :-) > Regards, > > -- > Gustavo F. Padovan > http://padovan.org Regards, Zhenhua -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html