Return-Path: From: Andrei Emeltchenko To: linux-bluetooth@vger.kernel.org Subject: [PATCHv7 09/14] android/socket: Add SPP uuid to profile table Date: Fri, 22 Nov 2013 10:34:50 +0200 Message-Id: <1385109295-11445-10-git-send-email-Andrei.Emeltchenko.news@gmail.com> In-Reply-To: <1385109295-11445-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> References: <1385109295-11445-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: From: Andrei Emeltchenko --- android/socket.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/android/socket.c b/android/socket.c index fa1aa3c..36f2f2e 100644 --- a/android/socket.c +++ b/android/socket.c @@ -45,6 +45,7 @@ #include "utils.h" #include "socket.h" +#define SPP_DEFAULT_CHANNEL 3 #define OPP_DEFAULT_CHANNEL 9 #define PBAP_DEFAULT_CHANNEL 15 #define MAS_DEFAULT_CHANNEL 16 @@ -212,7 +213,13 @@ static struct profile_info { 0x80, 0x00, 0x00, 0x80, 0x5F, 0x9B, 0x34, 0xFB }, .channel = MAS_DEFAULT_CHANNEL - } + }, { + .uuid = { + 0x00, 0x00, 0x11, 0x01, 0x00, 0x00, 0x10, 0x00, + 0x80, 0x00, 0x00, 0x80, 0x5F, 0x9B, 0x34, 0xFB + }, + .channel = SPP_DEFAULT_CHANNEL + }, }; static uint32_t sdp_service_register(struct profile_info *profile, -- 1.8.3.2