Skip to contentSkip to conversation

obex: report notification status on incoming message

PATCH RESEND Applied Matt Ranostay 2 participants 2 messages Feb 7, 2020 – Feb 11, 2020 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 obex: report notification status on incoming message

To match doc/obex.txt on incoming message notification the respective Status field should be set.

---
 obexd/client/map.c | 1 +
 1 file changed, 1 insertion(+)
obexd/client/map.c +1 -0
index 550c5afb4..23be2d6b2 100644
@@ -1914,6 +1914,7 @@ static void map_handle_notification(struct map_event *event, void *user_data)
 	switch (event->type) {
 	case MAP_ET_NEW_MESSAGE:
 		map_handle_new_message(map, event);
+		map_handle_status_changed(map, event, "notification");
 		break;
 	case MAP_ET_DELIVERY_SUCCESS:
 		map_handle_status_changed(map, event, "delivery-success");
Signature · 1 line
2.20.1
maintainer Applied
#1 lore raw

Hi Matt.

Quoted 20 lines · Matt Ranostay

To match doc/obex.txt on incoming message notification the respective Status field should be set.

---
 obexd/client/map.c | 1 +
 1 file changed, 1 insertion(+)
obexd/client/map.c +1 -1
index 550c5afb4..23be2d6b2 100644
@@ -1914,6 +1914,7 @@ static void map_handle_notification(struct map_event *event, void *user_data)
        switch (event->type) {
        case MAP_ET_NEW_MESSAGE:
                map_handle_new_message(map, event);
+               map_handle_status_changed(map, event, "notification");
                break;
        case MAP_ET_DELIVERY_SUCCESS:
                map_handle_status_changed(map, event, "delivery-success");
--
Quoted 1 line

2.20.1

Applied, thanks.

Signature · 1 line
Luiz Augusto von Dentz