All of lore.kernel.org
 help / color / mirror / Atom feed
* [MAP] obexd/client: Handle MAP event types
@ 2014-08-28  5:46 gowtham babu
  2014-08-28  7:57 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 7+ messages in thread
From: gowtham babu @ 2014-08-28  5:46 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: cpgs, bharat.panda, gowtham babu

Adds below MCE event types handling in map_handle_notification()
MAP_ET_MEMORY_FULL
MAP_ET_MEMORY_AVAILABLE
---
 obexd/client/map.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/obexd/client/map.c b/obexd/client/map.c
index 520e492..84feecf 100644
--- a/obexd/client/map.c
+++ b/obexd/client/map.c
@@ -1927,6 +1927,12 @@ static void map_handle_notification(struct map_event *event, void *user_data)
 	case MAP_ET_MESSAGE_SHIFT:
 		map_handle_folder_changed(map, event, event->folder);
 		break;
+	case MAP_ET_MEMORY_FULL:
+		map_handle_status_changed(map, event, "memory-full");
+		break;
+	case MAP_ET_MEMORY_AVAILABLE:
+		map_handle_status_changed(map, event, "memory-available");
+		break;
 	default:
 		break;
 	}
-- 
1.9.1


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

end of thread, other threads:[~2014-09-04 14:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-28  5:46 [MAP] obexd/client: Handle MAP event types gowtham babu
2014-08-28  7:57 ` Luiz Augusto von Dentz
2014-08-28  9:11   ` Gowtham Anandha Babu
2014-08-28  9:46     ` Luiz Augusto von Dentz
2014-08-28 13:32       ` Gowtham Anandha Babu
2014-09-04 14:22       ` Gowtham Anandha Babu
2014-09-04 14:42         ` Luiz Augusto von Dentz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.