* Query regarding the PTS MAP 1.2 push message test case execution
@ 2014-10-07 10:42 Gowtham Anandha Babu
2014-10-08 10:47 ` Luiz Augusto von Dentz
0 siblings, 1 reply; 2+ messages in thread
From: Gowtham Anandha Babu @ 2014-10-07 10:42 UTC (permalink / raw)
To: linux-bluetooth; +Cc: 'Bharat Panda', 'Dmitry Kasatkin', cpgs
[-- Attachment #1: Type: text/plain, Size: 852 bytes --]
Hi,
I am currently validating all the test cases of PTS 5.3 for MAP 1.2.
How to push the message bluez map-client to MSE(server)?
The approach which I followed is described below:
On MCE(Bluez - map-client):
1) Run bluetoothd
2) Run obexd
3) ./map-client -d <REMOTE_BT_ADDR> -c telecom/msg/outbox/ -p PUSH_MSG
On MSE(PTS tool)
1) Running the test-case: TC_MCE_MMU_BV_01_I
2) After running the test-case. I am getting the User Action Required
(Please find this in attached image).
The PUSH_MSG will be the filename of the message which we are pushing to
MSE(server).
So, I tried pushing the attached file with the same command as shown above
by replacing PUSH_MSG with filename of the attached.
But I am getting "org.bluez.obex.Error.Failed: Unable to open file".
How to push the message? Am I missing something?
Regards,
Gowtham Anandha Babu
[-- Attachment #2: PushMessageGSM --]
[-- Type: application/octet-stream, Size: 1260 bytes --]
BEGIN:BMSG
VERSION:1.0
STATUS:UNREAD
TYPE:SMS_GSM
FOLDER:TELECOM/MSG/INBOX
BEGIN:VCARD
VERSION:2.1
N:IUT
TEL:1234567890
END:VCARD
BEGIN:BENV
BEGIN:VCARD
VERSION:2.1
N:PTS
TEL:14256913524
END:VCARD
BEGIN:BBODY
CHARSET:UTF-8
LENGTH:978
BEGIN:MSG
PTS GSM message testing 1.PTS GSM message testing 1.PTS GSM message testing 1.PTS GSM message testing 1.
PTS GSM message testing 1.PTS GSM message testing 1.PTS GSM message testing 1.PTS GSM message testing 1.
PTS GSM message testing 1.PTS GSM message testing 1.PTS GSM message testing 1.PTS GSM message testing 1.
PTS GSM message testing 1.PTS GSM message testing 1.PTS GSM message testing 1.PTS GSM message testing 1.
PTS GSM message testing 1.PTS GSM message testing 1.PTS GSM message testing 1.PTS GSM message testing 1.
PTS GSM message testing 1.PTS GSM message testing 1.PTS GSM message testing 1.PTS GSM message testing 1.
PTS GSM message testing 1.PTS GSM message testing 1.PTS GSM message testing 1.PTS GSM message testing 1.
PTS GSM message testing 1.PTS GSM message testing 1.PTS GSM message testing 1.PTS GSM message testing 1.
PTS GSM message testing 1.PTS GSM message testing 1.PTS GSM message testing 1.PTS GSM message testing 1.
END:MSG
END:BBODY
END:BENV
END:BMSG
[-- Attachment #3: Capture_push.PNG --]
[-- Type: image/png, Size: 23116 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Query regarding the PTS MAP 1.2 push message test case execution
2014-10-07 10:42 Query regarding the PTS MAP 1.2 push message test case execution Gowtham Anandha Babu
@ 2014-10-08 10:47 ` Luiz Augusto von Dentz
0 siblings, 0 replies; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2014-10-08 10:47 UTC (permalink / raw)
To: Gowtham Anandha Babu
Cc: linux-bluetooth@vger.kernel.org, Bharat Panda, Dmitry Kasatkin,
cpgs
Hi,
On Tue, Oct 7, 2014 at 1:42 PM, Gowtham Anandha Babu
<gowtham.ab@samsung.com> wrote:
> Hi,
>
> I am currently validating all the test cases of PTS 5.3 for MAP 1.2.
> How to push the message bluez map-client to MSE(server)?
> The approach which I followed is described below:
>
> On MCE(Bluez - map-client):
> 1) Run bluetoothd
> 2) Run obexd
> 3) ./map-client -d <REMOTE_BT_ADDR> -c telecom/msg/outbox/ -p PUSH_MSG
>
> On MSE(PTS tool)
> 1) Running the test-case: TC_MCE_MMU_BV_01_I
> 2) After running the test-case. I am getting the User Action Required
> (Please find this in attached image).
>
> The PUSH_MSG will be the filename of the message which we are pushing to
> MSE(server).
> So, I tried pushing the attached file with the same command as shown above
> by replacing PUSH_MSG with filename of the attached.
> But I am getting "org.bluez.obex.Error.Failed: Unable to open file".
>
> How to push the message? Am I missing something?
First you need to check if obexd has permission to open the file, also
you can try obexctl instead using send command should have the same
result as map-client but it is a bit more up to date in terms of
features.
--
Luiz Augusto von Dentz
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-08 10:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-07 10:42 Query regarding the PTS MAP 1.2 push message test case execution Gowtham Anandha Babu
2014-10-08 10:47 ` Luiz Augusto von Dentz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox