diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2014-02-28 22:18:34 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-03-01 13:39:22 +0100 |
commit | a374c5dc73e7b26832a67a0c5e89de89d8f3feec (patch) | |
tree | e9f25f4ba44a3c54b0862e1c4df759180a934834 /android/socket.c | |
parent | a545949b1eb63b95c0156b4980b2341c1c843336 (diff) | |
download | bluez-a374c5dc73e7b26832a67a0c5e89de89d8f3feec.tar.gz |
android/socket: Use same RFCOMM channels for services as Linux daemon
Use numbers from doc/assigned-numbers.txt.
Diffstat (limited to 'android/socket.c')
-rw-r--r-- | android/socket.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/android/socket.c b/android/socket.c index ee98b5425..9aab345a7 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 |