Re: [openobex-users] brach support obex over l2cap and SRM

2010-11-18 Thread hui li
Sorry, is yor patch still use obex_data_indication() and obex_transport_read() to read socket data? It seems that your modified custom_read() function isn`t called by the two functions. Or you use OBEX_CustomDataFeed() to read data? Thanks. 2010/11/13, Hendrik Sattler p...@hendrik-sattler.de: Am

Re: [openobex-users] brach support obex over l2cap and SRM

2010-11-18 Thread Hendrik Sattler
Zitat von hui li nami.li1...@gmail.com: Sorry, is yor patch still use obex_data_indication() and obex_transport_read() to read socket data? It seems that your modified custom_read() function isn`t called by the two functions. Or you use OBEX_CustomDataFeed() to read data? Thanks. I reworked

Re: [openobex-users] brach support obex over l2cap and SRM

2010-11-12 Thread Hendrik Sattler
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

Re: [openobex-users] brach support obex over l2cap and SRM

2010-11-11 Thread Hendrik Sattler
Zitat von hui li nami.li1...@gmail.com: 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

Re: [openobex-users] brach support obex over l2cap and SRM

2010-11-11 Thread Hendrik Sattler
Zitat von Hendrik Sattler p...@hendrik-sattler.de: Zitat von hui li nami.li1...@gmail.com: 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

Re: [openobex-users] brach support obex over l2cap and SRM

2010-11-09 Thread Hendrik Sattler
Zitat von hui li nami.li1...@gmail.com: Thans a lot for your mail. The obex15 spec says SRM shall be used for all multi-response operatons(PUT and GET) for the duration of the SRM mode. I don`t know why you think SRM only valid in PUT request and GET response in my branch. I handled both

Re: [openobex-users] brach support obex over l2cap and SRM

2010-11-09 Thread Hendrik Sattler
Zitat von hui li nami.li1...@gmail.com: OBEX_MT_SEQPACKET and OBEX_MT_STREAM indicate different socket types ,corresponding to SOCK_SEQPACKET and SOCK_STREAM. If obex is over l2cap, we may would like to use SOCK_SEQPACKET type and obex_data_indication() function may need to how to parse

Re: [openobex-users] brach support obex over l2cap and SRM

2010-11-09 Thread Luiz Augusto von Dentz
Hi, On Tue, Nov 9, 2010 at 1:27 PM, Hendrik Sattler p...@hendrik-sattler.de wrote: Zitat von hui li nami.li1...@gmail.com: OBEX_MT_SEQPACKET and OBEX_MT_STREAM indicate different socket types ,corresponding to SOCK_SEQPACKET and SOCK_STREAM. If obex is over l2cap, we may would like to use  

Re: [openobex-users] brach support obex over l2cap and SRM

2010-11-08 Thread hui li
Thans a lot for your mail. The obex15 spec says SRM shall be used for all multi-response operatons(PUT and GET) for the duration of the SRM mode. I don`t know why you think SRM only valid in PUT request and GET response in my branch. I handled both server and client side during SRM. For SRM PUT

[openobex-users] brach support obex over l2cap and SRM

2010-11-07 Thread hui li
hi, all, since OBEX14 has released for a long time, I`d like to port it on obex-data-server and openobex. What do you think about it? As ods is closely related to blueman and openobex, the modification will inevitably include blueman and openobex changes. Should I submit patches in a branch?

Re: [openobex-users] brach support obex over l2cap and SRM

2010-11-07 Thread Iain Hibbert
On Mon, 8 Nov 2010, hui li wrote: hi, all, since OBEX14 has released for a long time Hi, do you have a reference for this specification? Google finds nothing about OBEX14 except your mail.. regards, iain -- The Next