Skip to contentSkip to conversation

Query regarding the PTS MAP 1.2 push message test case execution

DISCUSSION Gowtham Anandha Babu 2 participants 2 messages Oct 7, 2014 – Oct 8, 2014 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Hi,

Quoted 16 lines · Gowtham Anandha Babu

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).

Quoted 7 lines

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.

Signature · 1 line
Luiz Augusto von Dentz