RE: [MAP] obexd/client: Handle MAP event types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Luiz,

> -----Original Message-----
> From: Luiz Augusto von Dentz [mailto:luiz.dentz@xxxxxxxxx]
> Sent: Thursday, August 28, 2014 3:16 PM
> To: Gowtham Anandha Babu
> Cc: linux-bluetooth@xxxxxxxxxxxxxxx
> Subject: Re: [MAP] obexd/client: Handle MAP event types
> 
> Hi,
> 
> On Thu, Aug 28, 2014 at 12:11 PM, Gowtham Anandha Babu
> <gowtham.ab@xxxxxxxxxxx> wrote:
> > Hi Luiz,
> >     But in the obexd/client/mns.c
> >     Inside parse_event_report_type() function, event types are assigned
> with the values MAP_ET_MEMORY_FULL and
> MAP_ET_MEMORY_AVAILABLE.
> >     It should be handled in the map_handle_notification() inside map.c.
> 
> Please do not top post in the mailing list, use inline posting.
> Regarding the parsing, yes it does have proper handling of those event but
> there is no mapping to the D-Bus API therefore we ignore those memory
> event. As I mentioned the they are not per message so they cannot be set as
> a status of a message, anyway it would not make sense, and having it on the
> MessageAccess interface has not been considered but first I need to have a
> proper user case where it makes sense to expose those events.
> 
> Luiz Augusto von Dentz


The use cases are:
1) What if one tries to push a message, but the space available in the MSE device is not enough. So MCE will receive Memory Full Event.
2) Once the user cleared some memory in the MSE device, MCE should be notified with Memory Available Event.
As you mentioned earlier, these cannot be set as a status of a message. But MCE device needs to be get notified about this events. 

If the MCE receives Memory Full event, it will set the status as "delivery-failure". 
Once MSE device(server)  deletes some messages and send Memory Available event then MCE will push the pending message. 
Can it be done like this?

Regards,
Gowtham


--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux