linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH obexd 1/5] core: Add port to service driver
Date: Mon, 13 Feb 2012 13:37:46 +0200	[thread overview]
Message-ID: <1329133070-30003-1-git-send-email-luiz.dentz@gmail.com> (raw)

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This add possibility to optional port in addition to channel.
---
 src/service.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/service.h b/src/service.h
index 3dee7d7..5d9d325 100644
--- a/src/service.h
+++ b/src/service.h
@@ -21,10 +21,13 @@
  *
  */
 
+#define OBEX_PORT_RANDOM UINT16_MAX
+
 struct obex_service_driver {
 	const char *name;
 	uint16_t service;
 	uint8_t channel;
+	uint16_t port;
 	gboolean secure;
 	const uint8_t *target;
 	unsigned int target_size;
-- 
1.7.7.6


             reply	other threads:[~2012-02-13 11:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-13 11:37 Luiz Augusto von Dentz [this message]
2012-02-13 11:37 ` [PATCH obexd 2/5] bluetooth: Add support for L2CAP transport Luiz Augusto von Dentz
2012-02-13 11:37 ` [PATCH obexd 3/5] ftp: Update record to support version 1.2 with GoepL2capPsm attribute Luiz Augusto von Dentz
2012-02-13 11:37 ` [PATCH obexd 4/5] opp: " Luiz Augusto von Dentz
2012-02-13 11:37 ` [PATCH obexd 5/5] client: Add L2CAP support in bluetooth module Luiz Augusto von Dentz
2012-02-14 12:51 ` [PATCH obexd 1/5] core: Add port to service driver Johan Hedberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1329133070-30003-1-git-send-email-luiz.dentz@gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).