Thread (11 messages) flat view 11 messages, 3 authors, 2014-02-28

Re: [PATCH 4/6] android/socket: Reserve channel for HSP AG

From: Szymon Janc <hidden>
Date: 2014-02-28 17:06:07

Hi Johan,

On Friday 28 of February 2014 18:44:59 Johan Hedberg wrote:
Hi Szymon,

On Fri, Feb 28, 2014, Szymon Janc wrote:
quoted
---
 android/socket.c | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/android/socket.c b/android/socket.c
index ee98b54..f6863c8 100644
--- a/android/socket.c
+++ b/android/socket.c
@@ -47,8 +47,9 @@
 
 #define RFCOMM_CHANNEL_MAX 30
 
+#define HSP_AG_DEFAULT_CHANNEL	11
 #define OPP_DEFAULT_CHANNEL	12
-#define HFAG_DEFAULT_CHANNEL	13
+#define HFP_AG_DEFAULT_CHANNEL	13
 #define PBAP_DEFAULT_CHANNEL	19
Wasn't our plan to mirror the BlueZ doc/assigned-numbers.txt here? At
least the OPP and HSP channels don't match up with that.
We followed Bluedroid channels (although for HSP I did check which one is
used:), but we could go with BlueZ assigned-numbers.txt. That would require
fixed channels numbers for MAP, but that shouldn't be a problem.

Will send a patch for that.

-- 
Best regards, 
Szymon Janc
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help