linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@tieto.com>
To: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] android/socket: Use same RFCOMM channels for services as Linux daemon
Date: Sat, 01 Mar 2014 14:06:39 +0100	[thread overview]
Message-ID: <11615914.CiKuHk2JIG@leonov> (raw)
In-Reply-To: <1393622608-22965-1-git-send-email-szymon.janc@tieto.com>

On Friday 28 of February 2014 22:23:28 Szymon Janc wrote:
> Use numbers from doc/assigned-numbers.txt.
> ---
>  android/socket.c | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/android/socket.c b/android/socket.c
> index ee98b54..9aab345 100644
> --- a/android/socket.c
> +++ b/android/socket.c
> @@ -47,9 +47,10 @@
> 
>  #define RFCOMM_CHANNEL_MAX 30
> 
> -#define OPP_DEFAULT_CHANNEL	12
> +#define OPP_DEFAULT_CHANNEL	9
>  #define HFAG_DEFAULT_CHANNEL	13
> -#define PBAP_DEFAULT_CHANNEL	19
> +#define PBAP_DEFAULT_CHANNEL	15
> +#define MAP_MAS_DEFAULT_CHANNEL	16
> 
>  #define SVC_HINT_OBEX 0x10
> 
> @@ -403,7 +404,7 @@ static const struct profile_info {
>  			0x00, 0x00, 0x11, 0x32, 0x00, 0x00, 0x10, 0x00,
>  			0x80, 0x00, 0x00, 0x80, 0x5F, 0x9B, 0x34, 0xFB
>  		},
> -		.channel = 0,
> +		.channel = MAP_MAS_DEFAULT_CHANNEL,
>  		.svc_hint = SVC_HINT_OBEX,
>  		.sec_level = BT_IO_SEC_MEDIUM,
>  		.create_record = create_mas_record

Pushed.

-- 
BR
Szymon Janc

      reply	other threads:[~2014-03-01 13:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-28 21:23 [PATCH] android/socket: Use same RFCOMM channels for services as Linux daemon Szymon Janc
2014-03-01 13:06 ` Szymon Janc [this message]

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=11615914.CiKuHk2JIG@leonov \
    --to=szymon.janc@tieto.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).