Return-Path: From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ 07/11] opp: Remove record details Date: Wed, 12 Dec 2012 13:52:12 +0200 Message-Id: <1355313136-7891-7-git-send-email-luiz.dentz@gmail.com> In-Reply-To: <1355313136-7891-1-git-send-email-luiz.dentz@gmail.com> References: <1355313136-7891-1-git-send-email-luiz.dentz@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: From: Luiz Augusto von Dentz Standart service records are already supported by bluetoothd --- obexd/plugins/opp.c | 56 ----------------------------------------------------- 1 file changed, 56 deletions(-) diff --git a/obexd/plugins/opp.c b/obexd/plugins/opp.c index c7ddc63..faa4437 100644 --- a/obexd/plugins/opp.c +++ b/obexd/plugins/opp.c @@ -44,59 +44,6 @@ #define VCARD_TYPE "text/x-vcard" #define VCARD_FILE CONFIGDIR "/vcard.vcf" -#define OPP_CHANNEL 9 -#define OPP_RECORD " \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -" - static void *opp_connect(struct obex_session *os, int *err) { manager_register_transfer(os); @@ -219,9 +166,6 @@ static void opp_reset(struct obex_session *os, void *user_data) static struct obex_service_driver driver = { .name = "Object Push server", .service = OBEX_OPP, - .channel = OPP_CHANNEL, - .port = OBEX_PORT_RANDOM, - .record = OPP_RECORD, .connect = opp_connect, .progress = opp_progress, .disconnect = opp_disconnect, -- 1.7.11.7