Commit: 9a32b6144d8a9d7aedfa696e0aa8572c13c58480
Parent: 688f5ee80fca9ff06cdc1b1e51d4989e18147f1d
Author: Amisha Jain <quic_amisjain@quicinc.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-03-04 17:01:29
Tree: 20c4fcaa3839467c314d138c23092b33a985c29b

obex: Add messages_get_message() implementation for MAP plugin GET Message() operation should be supported for passing below PTS testcases - 1.MAP/MSE/MMB/BV-12-C Verify that the MSE can return an email message to the MCE. 2.MAP/MSE/MMB/BV-13-C Verify that the MSE can return a a*n* SMS message in native format to the MCE. 3.MAP/MSE/MMB/BV-14-C Verify that the MSE can return a SMS message with text trans-coded to UTF-8 to the MCE. Currently get message operation is not implemented, hence above testcases are failing. Added code to send the complete bmessage in response to the get() request for the requested message handle. As per suggested in previous patch, mmap() is being used for reading file.

Diffstat

M obexd/plugins/mas.c | 5 +++- -
M obexd/plugins/messages-dummy.c | 50 ++++++++++++++++++++++++++++++++++++++++-

2 files changed, 52 insertions(+), 3 deletions(-)

View Full Diff | Patch