Re: [openobex-users] [PATCH] obex_client state transition fixes

2010-11-03 Thread Christian Zuckschwerdt
Hi, Am 03.11.2010 um 21:40 schrieb Hendrik Sattler: >> P.S. Could the list moderator please approve my subscription? I don't >> receive new messages, have to refresh mailarchive in browser. > > Ask Zany or Marcel directly. I'm reading the list and already solved the problem with Max off-list :

Re: [openobex-users] [PATCH] obex_client state transition fixes

2010-11-03 Thread Hendrik Sattler
Am Mittwoch 03 November 2010, 18:48:58 schrieb max ulidtko: > Hendrik Sattler wrote: > >Indeed there is. MODE_SRV is also used as initial value for the mode > >field. Unless you take that obex_t and register as server with it, the > >MODE_SRV does nothing (there is no listening FD so nothing comes

Re: [openobex-users] [PATCH] obex_client state transition fixes

2010-11-03 Thread max ulidtko
Luiz Augusto von Dentz wrote: >Actually mode has been separated from state since some time, I don't >think this patch even apply upstream anymore. But I agree that >switching to server mode is a bit odd, but maybe there is a reason for >that. Oh gods. Switched to 1.4 to test some app which used an

Re: [openobex-users] [PATCH] obex_client state transition fixes

2010-11-03 Thread Hendrik Sattler
Zitat von "Luiz Augusto von Dentz" : > On Wed, Nov 3, 2010 at 10:38 AM, max ulidtko wrote: >> As far as I can figure out, an obex_t instance which makes a request >> (obex client) should never get into a state with MODE_SRV set. This >> breaks proper dispatching of events and so on. >> >> And so I

Re: [openobex-users] [PATCH] obex_client state transition fixes

2010-11-03 Thread Luiz Augusto von Dentz
Hi, On Wed, Nov 3, 2010 at 10:38 AM, max ulidtko wrote: > As far as I can figure out, an obex_t instance which makes a request > (obex client) should never get into a state with MODE_SRV set. This > breaks proper dispatching of events and so on. > > And so I assume that those MODE_SRV assignments

[openobex-users] [PATCH] obex_client state transition fixes

2010-11-03 Thread max ulidtko
As far as I can figure out, an obex_t instance which makes a request (obex client) should never get into a state with MODE_SRV set. This breaks proper dispatching of events and so on. And so I assume that those MODE_SRV assignments in obex_client.c were some kind of mistake. The patch fixes it. --

[openobex-users] [PATCH] obex_client state transition fixes

2010-11-03 Thread max ulidtko
As far as I can figure out, an obex_t instance which makes a request (obex client) should never get into a state with MODE_SRV set. This breaks proper dispatching of events and so on. And so I assume that those MODE_SRV assignments in obex_client.c were some kind of mistake. The patch fixes it. --