From 19040c9f7230bb3239e874f388ad953a64ce8a52 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 12 Dec 2012 13:52:13 +0200 Subject: [PATCH] ftp: Remove record details Standart service records are already supported by bluetoothd --- obexd/plugins/ftp.c | 45 --------------------------------------------- 1 file changed, 45 deletions(-) diff --git a/obexd/plugins/ftp.c b/obexd/plugins/ftp.c index ff4b76180..d53774dfb 100644 --- a/obexd/plugins/ftp.c +++ b/obexd/plugins/ftp.c @@ -53,47 +53,6 @@ #define LST_TYPE "x-obex/folder-listing" #define CAP_TYPE "x-obex/capability" -#define FTP_CHANNEL 10 -#define FTP_RECORD " \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -" - static const uint8_t FTP_TARGET[TARGET_SIZE] = { 0xF9, 0xEC, 0x7B, 0xC4, 0x95, 0x3C, 0x11, 0xD2, 0x98, 0x4E, 0x52, 0x54, 0x00, 0xDC, 0x9E, 0x09 }; @@ -519,10 +478,6 @@ void ftp_disconnect(struct obex_session *os, void *user_data) static struct obex_service_driver ftp = { .name = "File Transfer server", .service = OBEX_FTP, - .channel = FTP_CHANNEL, - .port = OBEX_PORT_RANDOM, - .secure = TRUE, - .record = FTP_RECORD, .target = FTP_TARGET, .target_size = TARGET_SIZE, .connect = ftp_connect, -- 2.47.3