From 9106f01fe5cc3ed3f7e01763652aa109929de8bf Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 12 Dec 2012 13:52:12 +0200 Subject: [PATCH] opp: Remove record details 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 c7ddc63c3..faa4437ee 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, -- 2.47.3