From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH obexd 3/5] ftp: Update record to support version 1.2 with GoepL2capPsm attribute
Date: Mon, 13 Feb 2012 13:37:48 +0200 [thread overview]
Message-ID: <1329133070-30003-3-git-send-email-luiz.dentz@gmail.com> (raw)
In-Reply-To: <1329133070-30003-1-git-send-email-luiz.dentz@gmail.com>
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
---
plugins/ftp.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/plugins/ftp.c b/plugins/ftp.c
index 9b102d0..56cedb9 100644
--- a/plugins/ftp.c
+++ b/plugins/ftp.c
@@ -81,7 +81,7 @@
<sequence> \
<sequence> \
<uuid value=\"0x1106\"/> \
- <uint16 value=\"0x0100\" name=\"version\"/> \
+ <uint16 value=\"0x0102\" name=\"version\"/> \
</sequence> \
</sequence> \
</attribute> \
@@ -89,6 +89,9 @@
<attribute id=\"0x0100\"> \
<text value=\"%s\" name=\"name\"/> \
</attribute> \
+ <attribute id=\"0x0200\"> \
+ <uint16 value=\"%u\" name=\"psm\"/> \
+ </attribute> \
</record>"
static const uint8_t FTP_TARGET[TARGET_SIZE] = {
@@ -517,6 +520,7 @@ static struct obex_service_driver ftp = {
.name = "File Transfer server",
.service = OBEX_FTP,
.channel = FTP_CHANNEL,
+ .port = OBEX_PORT_RANDOM,
.secure = TRUE,
.record = FTP_RECORD,
.target = FTP_TARGET,
--
1.7.7.6
next prev parent 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 [PATCH obexd 1/5] core: Add port to service driver Luiz Augusto von Dentz
2012-02-13 11:37 ` [PATCH obexd 2/5] bluetooth: Add support for L2CAP transport Luiz Augusto von Dentz
2012-02-13 11:37 ` Luiz Augusto von Dentz [this message]
2012-02-13 11:37 ` [PATCH obexd 4/5] opp: Update record to support version 1.2 with GoepL2capPsm attribute 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-3-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).