From: Rupesh G. <rup...@re...> - 2006-10-31 09:38:46
|
=0AThanks for quick reply..=0A 1st thing is that i tried with "make html= " in /doc of source code but got something like this:-=0A make: *** No rule= to make target `html'. Stop.=0A=0A i desparately need to read the documen= tation. but cant do it..=0A=0Aand secondly that can someone elaborate littl= e regarding:-=0AOBEX_RegisterCTransport()=0AOBEX_SetCustomData() and OBEX_G= etCustomData() =0A ie. why it is required? where and how to use it?=0A=0ATh= anks for your co-operation.=0A and hope to get some help soon=0A Regards = =0ARupesh.=0A=0A =0A=0AOn Tue, 31 Oct 2006 Hendrik Sattler wrote :=0A>Am D= ienstag 31 Oktober 2006 09:17 schrieb Rupesh Gujare:=0A> > I am newbie t= o the openobex programming. and currently studying project=0A> > "ussp-push= -0.9". [http://www.xmailserver.org/ussp-push.html]. My objective=0A> > is t= o write code where i can detect all nearby bluetooth devices.=0A>=0A>That h= as nothing to do with obex.=0A>=0A> > Detect that on which channel OBEX is = running=0A>=0A>This one is also not about obex but rather SDP.=0A>=0A> > an= d push my file on that OBEX channel.=0A>=0A>Only that is related to openobe= x.=0A>=0A> > With reference to above project i need help regarding undestan= ding=0A> > of logic flow and description of following API's. and structure.= =0A>=0A>The API documentation contains proper examples and description in c= hapter 2.=0A>Go to the doc directory of the source and type "make html" to = get it.=0A>=0A> > 1)obex_t *OBEX_Init(int transport, obex_event_t eventcb, = unsigned int=0A> > flags) while initialising OBEX, what is meant by first a= rgument=0A> > "transport"? i see some flags defined as follows for same:--= =0A> >=0A> > %OBEX_TRANS_IRDA : Use regular IrDA socket (= need an IrDA=0A> > stack) %OBEX_TRANS_INET : Use regular TCP/IP socket=0A> = > %OBEX_TRANS_CUSTOM : Use user provided transport=0A> > = %OBEX_TRANS_BLUETOOTH: Use regular Bluetooth RFCOMM=0A> >= socket (need the BlueZ stack) %OBEX_TRANS_USB: Use USB transport (libusb= =0A> > needed) What does this mean? i am doing for Bluetooth. if i use=0A> = > OBEX_TRANS_BLUETOOTH, what it will mean? In above code they have not used= =0A> > Bluez stack. I wanna use it. how can i do it?=0A>=0A>ussp-push-0.9 u= ses the bluez stack on linux.=0A>=0A> > 2)What is OBEX_RegisterCTransport()= is all about? What does this API do?=0A> >=0A> > What is obex_ctrans_t = structure? What r these function pointers? when=0A> > these functions r cal= led? and who calls them?=0A> >=0A> > typedef struct {=0A> > in= t (*connect)(obex_t *handle, void * customdata);=0A> > int (*disc= onnect)(obex_t *handle, void * customdata);=0A> > int (*listen)(o= bex_t *handle, void * customdata);=0A> > int (*write)(obex_t *han= dle, void * customdata, uint8_t *buf, int=0A> > bu int (*handleinput)(obe= x_t *handle, void * customdata, int timeout);=0A> > void * customdata;=0A> = > } obex_ctrans_t;=0A> > 3)What is OBEX_SetCustomData() and OBEX_GetC= ustomData() API's?=0A> > what kind of data we r supposed to set and get= and where they r used?=0A>=0A>2 and 3 are about obex over serial cables.= =0A>=0A>HS=0A>=0A>---------------------------------------------------------= ----------------=0A>Using Tomcat but need to do more? Need to support web s= ervices, security?=0A>Get stuff done quickly with pre-integrated technology= to make your job easier=0A>Download IBM WebSphere Application Server v.1.0= .1 based on Apache Geronimo=0A>http://sel.as-us.falkag.net/sel?cmd=3Dlnk&ki= d=3D120709&bid=3D263057&dat=3D121642=0A>___________________________________= ____________=0A>Openobex-users mailing list=0A>Ope...@li...urcef= orge.net=0A>http://lists.sourceforge.net/lists/listinfo/openobex-users=0A |