linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH openobex 1/3] Add transport format member in fdobex_data struct. Support STREAM and SEQPACKET transport format.
@ 2011-06-20  5:47 Nami
  2011-06-20  5:47 ` [PATCH openobex 2/3] Add transport format parameter when setup fd obex transprot Nami
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Nami @ 2011-06-20  5:47 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: haijun, openobex-users, Nami

---
 include/openobex/obex_const.h |    4 ++++
 lib/fdobex.h                  |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/openobex/obex_const.h b/include/openobex/obex_const.h
index cb7afeb..8acee91 100644
--- a/include/openobex/obex_const.h
+++ b/include/openobex/obex_const.h
@@ -302,6 +302,10 @@ enum obex_rsp_mode {
   OBEX_RSP_MODE_SINGLE = 1, /**< single response mode (SRM) */
 };

+enum fdobex_transport_format{
+	 FDOBEX_MT_STREAM ,
+	 FDOBEX_MT_SEQPACKET
+};
 /* Min, Max and default transport MTU */
 #define OBEX_DEFAULT_MTU	1024
 #define OBEX_MINIMUM_MTU	255
diff --git a/lib/fdobex.h b/lib/fdobex.h
index 07e33ab..6839e77 100644
--- a/lib/fdobex.h
+++ b/lib/fdobex.h
@@ -6,5 +6,6 @@ void fdobex_get_ops(struct obex_transport_ops* ops);

 struct fdobex_data {
 	socket_t writefd; /* write descriptor */
+	enum fdobex_transport_format fmt;
 };
 #endif
--
1.7.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-06-21  3:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-20  5:47 [PATCH openobex 1/3] Add transport format member in fdobex_data struct. Support STREAM and SEQPACKET transport format Nami
2011-06-20  5:47 ` [PATCH openobex 2/3] Add transport format parameter when setup fd obex transprot Nami
2011-06-20  5:47 ` [PATCH openobex 3/3] Modify fdobex_read to read the entire packet when data tarnsprot format is SEQPACKET, Nami
2011-06-20  6:08 ` [PATCH openobex 1/3] Add transport format member in fdobex_data struct. Support STREAM and SEQPACKET transport format Sumangala, Suraj
2011-06-20  9:00 ` [openobex-users] " Hendrik Sattler
2011-06-20 16:43 ` Marcel Holtmann
2011-06-20 18:28   ` [openobex-users] " Hendrik Sattler
2011-06-20 19:45     ` Marcel Holtmann
2011-06-20 20:43       ` Hendrik Sattler
2011-06-21  3:17         ` Li, Nami

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).