RE: SRM support in OBEX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Piotr
  I worked on SRM several weeks ago but finally stopped.
  It`s easy to set and check SRM header, as well as set the response mode to OBEX_RSP_MODE_SINGLE. And it is already well supported in obex_work function when the response mode is SRM, client and server can continue send data without remote side response or request. The obex_work callback relationship is:
obex_session_start()
					...
			g_io_add_watch_full(io, G_PRIORITY_DEFAULT,	G_IO_IN | G_IO_HUP | G_IO_ERR | G_IO_NVAL,	obex_handle_input, obex, obex_handle_destroy);
					...
obex_handle_input()
					...
			OBEX_HandleInput(obex, 1)
					...
OBEX_HandleInput()
					...
			obex_work(self, timeout);

The problem in SRM is:
If remote side doesn`t send any data to local side, then the G_IO_IN condition couldn`t be set. So how obex_work can be called?

I haven`t found any good solution for this issue. So if you can spend some time on SRM, I`ll be very happy:)


Best wishes.
Nami




-----Original Message-----
From: linux-bluetooth-owner@xxxxxxxxxxxxxxx [mailto:linux-bluetooth-owner@xxxxxxxxxxxxxxx] On Behalf Of Piotr Zgórecki
Sent: 2011年6月21日 21:44
To: linux-bluetooth@xxxxxxxxxxxxxxx
Subject: SRM support in OBEX

Hi,

Is anybody working on SRM support in obexd ? I might be able to spend some time on this but would like to avoid duplication of effort if it's in the pipeline.

Cheers,
Piotr
--
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
?韬{.n?????%??檩??w?{.n???{饼?z????n?■???h?璀?{?夸z罐?+€?zf"?????i?????_璁?:+v??撸?



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux