Parent: a987ea04cface9d20191f36271c90e2f167bb3a2
Author: Sathish Narasimman <sathish.narasimman@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2017-06-19 11:28:13
Tree: 8cee2e6d6a3792c0123debc8bdd2b2ef1ab5a18a
obexd/map: msg dummy implement message listing For messages dummy, message listing functionality in implemented in this patch. The inputs for message listing is derived from the mlisting.xml file that is to be present in each folder(inbox, sent, drafts) > ACL Data RX: Handle 256 flags 0x02 dlen 78 Channel: 64 len 74 [PSM 3 mode 0] {chan 0} RFCOMM: Unnumbered Info with Header Check (UIH) (0xef) Address: 0x83 cr 1 dlci 0x20 Control: 0xff poll/final 1 Length: 69 FCS: 0xc4 Credits: 1 83 00 45 cb 00 00 00 02 01 00 0d 00 73 00 65 00 ..E.........s.e. 6e 00 74 00 00 42 00 18 78 2d 62 74 2f 4d 41 50 n.t..B..x-bt/MAP 2d 6d 73 67 2d 6c 69 73 74 69 6e 67 00 4c 00 18 -msg-listing.L.. 01 02 00 0b 02 02 00 00 13 01 ff 06 01 00 07 00 ................ 08 00 09 01 00 c4 ...... < ACL Data TX: Handle 256 flags 0x00 dlen 1017 Channel: 65 len 1013 [PSM 3 mode 0] {chan 0} RFCOMM: Unnumbered Info with Header Check (UIH) (0xef) Address: 0x81 cr 0 dlci 0x20 Control: 0xef poll/final 0 Length: 28675 FCS: 0x02 90 08 63 4c 00 21 12 02 00 0b 19 15 32 30 31 37 ..cL.!......2017 30 36 31 32 54 31 32 32 35 31 33 2d 20 35 33 30 0612T122513- 530 00 0d 01 00 48 08 3f 3c 4d 41 50 2d 6d 73 67 2d ....H.?<MAP-msg- 6c 69 73 74 69 6e 67 20 76 65 72 73 69 6f 6e 3d listing version= 22 31 2e 30 22 3e 3c 6d 73 67 20 68 61 6e 64 6c "1.0"><msg handl 65 3d 22 30 34 30 30 30 30 30 30 30 30 30 30 30 e="0400000000000 30 31 32 22 20 73 75 62 6a 65 63 74 3d 22 4e 6f 012" subject="No 22 20 64 61 74 65 74 69 6d 65 3d 22 32 30 31 37 " datetime="2017 30 35 32 34 54 31 37 30 31 35 37 22 20 73 65 6e 0524T170157" sen 64 65 72 5f 61 64 64 72 65 73 73 69 6e 67 3d 22 der_addressing=" 22 20 72 65 63 69 70 69 65 6e 74 5f 61 64 64 72 " recipient_addr 65 73 73 69 6e 67 3d 22 35 34 33 32 31 22 20 74 essing="54321" t 79 70 65 3d 22 53 4d 53 5f 47 53 4d 22 20 72 65 ype="SMS_GSM" re 63 65 70 74 69 6f 6e 5f 73 74 61 74 75 73 3d 22 ception_status=" 63 6f 6d 70 6c 65 74 65 22 20 61 74 74 61 63 68 complete" attach 6d 65 6e 74 5f 73 69 7a 65 3d 22 30 22 2f 3e 0a ment_size="0"/>. ... and more
Diffstat
| M | obexd/plugins/messages-dummy.c | | | 186 | ++++++++++++++++++++++++++++++++++++++++- |
1 files changed, 185 insertions(+), 1 deletions(-)