Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ 1/2] obexd/map: Do not send parent folder in dummy
@ 2017-06-09  5:23 nsathish41
  2017-06-09  5:23 ` [PATCH BlueZ 2/2] obexd/map: msg dummy implement message listing nsathish41
  0 siblings, 1 reply; 5+ messages in thread
From: nsathish41 @ 2017-06-09  5:23 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Sathish Narasimman

From: Sathish Narasimman <sathish.narasimman@intel.com>

In messages-dummy it is not necessary to add parent folder in the
response to folder-lisintg. when tested with some carkit the present
method is not working when navigating to different folders. so removing
it.
---
 obexd/plugins/messages-dummy.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/obexd/plugins/messages-dummy.c b/obexd/plugins/messages-dummy.c
index 765f08d..33056e2 100644
--- a/obexd/plugins/messages-dummy.c
+++ b/obexd/plugins/messages-dummy.c
@@ -155,16 +155,6 @@ static void return_folder_listing(struct folder_listing_data *fld, GSList *list)
 	uint16_t num = 0;
 	uint16_t offs = 0;
 
-	/* XXX: This isn't really documented for MAP. I need to take a look how
-	 * other implementations choose to deal with parent folder.
-	 */
-	if (session->cwd[0] != 0 && fld->offset == 0) {
-		num++;
-		fld->callback(session, -EAGAIN, 0, "..", fld->user_data);
-	} else {
-		offs++;
-	}
-
 	for (cur = list; offs < fld->offset; offs++) {
 		cur = cur->next;
 		if (cur == NULL)
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [PATCH BlueZ 0/2] *** SUBJECT HERE ***
@ 2017-06-08 15:14 nsathish41
  2017-06-08 15:14 ` [PATCH BlueZ 2/2] obexd/map: msg dummy implement message listing nsathish41
  0 siblings, 1 reply; 5+ messages in thread
From: nsathish41 @ 2017-06-08 15:14 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Sathish Narasimman

From: Sathish Narasimman <sathish.narasimman@intel.com>

*** BLURB HERE ***

Sathish Narasimman (2):
  obexd/map: Do not send parent folder in dummy
  obexd/map: msg dummy implement message listing

 obexd/plugins/messages-dummy.c | 203 ++++++++++++++++++++++++++++++++++++++---
 1 file changed, 192 insertions(+), 11 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-06-12  7:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-09  5:23 [PATCH BlueZ 1/2] obexd/map: Do not send parent folder in dummy nsathish41
2017-06-09  5:23 ` [PATCH BlueZ 2/2] obexd/map: msg dummy implement message listing nsathish41
2017-06-09 12:55   ` Luiz Augusto von Dentz
2017-06-12  7:20     ` Sathish Narasimman
  -- strict thread matches above, loose matches on Subject: below --
2017-06-08 15:14 [PATCH BlueZ 0/2] *** SUBJECT HERE *** nsathish41
2017-06-08 15:14 ` [PATCH BlueZ 2/2] obexd/map: msg dummy implement message listing nsathish41

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox