Hi All,
I am currently working on MAP implementation in BlueZ.
I am trying below things to get Event reports from the MSE device.
Below are the steps we followed;
Pairing done.
On MSE device:
Accept the MAP request
Delete Some messages
On (MCE)Bluez, obexd:
Run "bluetoothd"
Run "obexd"
Run "map-client"
Now, When I receive any new messages or delete few old messages in the MSE,
I am getting the MAP Event report as shown below.
<MAP-event-report version="1.0"><event type="MessageDeleted"
handle="0000000020000B48" folder="telecom/msg/deleted"
old_folder="telecom/msg/inbox" msg_type="SMS_GSM" /></MAP-event-report>
But I am not able to find the "MAP Event Report version 1.0 DTD" as
specified in MAP V 1.0 specification inside Bluez.
Is this event report generated by the Messaging Service or by Bluez itself
or not yet implemented in Bluez?
Regards,
Gowtham
Hi,
On Tue, Sep 2, 2014 at 9:39 AM, Gowtham Anandha Babu
<[email protected]> wrote:
> Hi All,
> I am currently working on MAP implementation in BlueZ.
> I am trying below things to get Event reports from the MSE device.
> Below are the steps we followed;
>
> Pairing done.
>
> On MSE device:
> Accept the MAP request
> Delete Some messages
>
> On (MCE)Bluez, obexd:
> Run "bluetoothd"
> Run "obexd"
> Run "map-client"
>
> Now, When I receive any new messages or delete few old messages in the MSE,
> I am getting the MAP Event report as shown below.
>
> <MAP-event-report version="1.0"><event type="MessageDeleted"
> handle="0000000020000B48" folder="telecom/msg/deleted"
> old_folder="telecom/msg/inbox" msg_type="SMS_GSM" /></MAP-event-report>
>
> But I am not able to find the "MAP Event Report version 1.0 DTD" as
> specified in MAP V 1.0 specification inside Bluez.
> Is this event report generated by the Messaging Service or by Bluez itself
> or not yet implemented in Bluez?
Not sure if I got or question correctly, but perhaps you are asking
what signal it would generate in D-Bus if such event happen, in that
case the answer is PropertiesChanged("Folder",
"/telecom/msg/deleted"), it only works for objects that have been
listed otherwise it will be ignored.
--
Luiz Augusto von Dentz