[openobex-users] Nokia 2162
Hi, When i mount the 2162, i get a heap of question-marks: sudo obexfs -t /dev/Nokia -u 1 /phone russ...@main~: ls -l / ls: cannot access /phone: Permission denied total 116 drwxr-xr-x 2 root root 4096 Nov 3 23:05 bin drwxr-xr-x 3 root root 4096 Nov 12 18:26 boot ... d? ? ?? ?? phone I try to compile obexftp-0.22 but get: russ...@main~/SRC/obexftp-0.22: make make all-recursive make[1]: Entering directory `/home/russell/SRC/obexftp-0.22' Making all in bfb make[2]: Entering directory `/home/russell/SRC/obexftp-0.22/bfb' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/russell/SRC/obexftp-0.22/bfb' Making all in multicobex make[2]: Entering directory `/home/russell/SRC/obexftp-0.22/multicobex' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/russell/SRC/obexftp-0.22/multicobex' Making all in obexftp make[2]: Entering directory `/home/russell/SRC/obexftp-0.22/obexftp' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/russell/SRC/obexftp-0.22/obexftp' Making all in apps make[2]: Entering directory `/home/russell/SRC/obexftp-0.22/apps' if /usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -DOBEXFTP_DEBUG=5 -g -O0 -W -Wundef -Wmissing-declarations -Wmissing-prototypes -Wall -MT obexftpd.o -MD -MP -MF .deps/obexftpd.Tpo -c -o obexftpd.o obexftpd.c; \ then mv -f .deps/obexftpd.Tpo .deps/obexftpd.Po; else rm -f .deps/obexftpd.Tpo; exit 1; fi obexftpd.c:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token obexftpd.c: In function 'start_server': obexftpd.c:891: warning: implicit declaration of function 'BtOBEX_ServerRegister' obexftpd.c:891: error: 'bt_src' undeclared (first use in this function) obexftpd.c:891: error: (Each undeclared identifier is reported only once obexftpd.c:891: error: for each function it appears in.) make[2]: *** [obexftpd.o] Error 1 make[2]: Leaving directory `/home/russell/SRC/obexftp-0.22/apps' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/russell/SRC/obexftp-0.22' make: *** [all] Error 2 -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev ___ Openobex-users mailing list Openobex-users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/openobex-users
[openobex-users] Nokia 6120
Hi, When i mount the 6120 (not 2162), i get a heap of question-marks: sudo obexfs -t /dev/Nokia -u 1 /phone russ...@main~: ls -l / ls: cannot access /phone: Permission denied total 116 drwxr-xr-x 2 root root 4096 Nov 3 23:05 bin drwxr-xr-x 3 root root 4096 Nov 12 18:26 boot ... d? ? ?? ?? phone I try to compile obexftp-0.22 but get: russ...@main~/SRC/obexftp-0.22: make make all-recursive make[1]: Entering directory `/home/russell/SRC/obexftp-0.22' Making all in bfb make[2]: Entering directory `/home/russell/SRC/obexftp-0.22/bfb' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/russell/SRC/obexftp-0.22/bfb' Making all in multicobex make[2]: Entering directory `/home/russell/SRC/obexftp-0.22/multicobex' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/russell/SRC/obexftp-0.22/multicobex' Making all in obexftp make[2]: Entering directory `/home/russell/SRC/obexftp-0.22/obexftp' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/russell/SRC/obexftp-0.22/obexftp' Making all in apps make[2]: Entering directory `/home/russell/SRC/obexftp-0.22/apps' if /usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -DOBEXFTP_DEBUG=5 -g -O0 -W -Wundef -Wmissing-declarations -Wmissing-prototypes -Wall -MT obexftpd.o -MD -MP -MF .deps/obexftpd.Tpo -c -o obexftpd.o obexftpd.c; \ then mv -f .deps/obexftpd.Tpo .deps/obexftpd.Po; else rm -f .deps/obexftpd.Tpo; exit 1; fi obexftpd.c:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token obexftpd.c: In function 'start_server': obexftpd.c:891: warning: implicit declaration of function 'BtOBEX_ServerRegister' obexftpd.c:891: error: 'bt_src' undeclared (first use in this function) obexftpd.c:891: error: (Each undeclared identifier is reported only once obexftpd.c:891: error: for each function it appears in.) make[2]: *** [obexftpd.o] Error 1 make[2]: Leaving directory `/home/russell/SRC/obexftp-0.22/apps' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/russell/SRC/obexftp-0.22' make: *** [all] Error 2 -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev ___ Openobex-users mailing list Openobex-users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/openobex-users
Re: [openobex-users] Nokia 6120
Russell, you need openobex-dev (or install openobex from source) when compiling obexftp. Also you need to check that bluetooth is enabled during openobex configuration. ObexFTP has a very limited pseudo xml-parser for the directory listings. I guess the xml from the phone is somewhat non-standard. I'd be great if you could capture the output -- compile ObexFTP with debug enabled and just list/get some directories. Am 12.11.2010 um 17:26 schrieb Russell Shaw: When i mount the 6120 (not 2162), i get a heap of question-marks: sudo obexfs -t /dev/Nokia -u 1 /phone russ...@main~: ls -l / ls: cannot access /phone: Permission denied total 116 drwxr-xr-x 2 root root 4096 Nov 3 23:05 bin drwxr-xr-x 3 root root 4096 Nov 12 18:26 boot ... d? ? ?? ?? phone I try to compile obexftp-0.22 but get: obexftpd.c:891: warning: implicit declaration of function 'BtOBEX_ServerRegister' regards, Christian -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev ___ Openobex-users mailing list Openobex-users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/openobex-users
Re: [openobex-users] brach support obex over l2cap and SRM
Am Freitag 12 November 2010, 07:57:17 schrieb hui li: Currently when openobex calls obex_data_indication() to read socket data, it first calls obex_transport_read() to read first 3 data to decide message length, then calls obex_transport_read() again to read remaining data. But when we run obex over l2cap, you can find the second obex_transport_read() return zero. [...] actual = obex_transport_read(self, MAX_BUFF_SIZE); [...] Please check http://www.gitorious.org/openobex/mainline/commit/be1b3863d52b7daaa670245d8a88e8ccdacf7334 Does that help you? It resizes the available buffer to have RX MTU bytes (no packet from the client should be larger than that) and you can fill that with your data. The RX MTU can be set by your own code. Still, a proper solution was always possible using OBEX_CustomDataFeed() or by buffering the data in your own 64k buffer. You cannot call obex_transport_read() like proposed by you when usually using blocking sockets or file descriptors. HS -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev ___ Openobex-users mailing list Openobex-users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/openobex-users