Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Integrating Bluetooth audio devices into the MME-help: (1 Item)
   
Integrating Bluetooth audio devices into the MME-help  
hello all:

I face a problem when Integrating Bluetooth audio devices into the MME .MME can 

not send right cmd to  io-fs-media(avrcpexample).

//////////////////////////////////////////////////////////
 when I do :

'qdbc -d mme "select msid,slotid,storage_type, mountpath from mediastores" '

result is:

Rows: 2  Cols: 4
Names:  +msid+slotid+storage_type+mountpath+
00000:  |1|1|2|/media/drive|
00001:  |2|11|2|/fs/avrcp0|

**********************************************
 when I do :

'qdbc -d mme "select fid,msid,folderid,ftype,filename, title from library where msid=2" '

result is:

Rows: 1  Cols: 6
Names:  +fid+msid+folderid+ftype+filename+title+
00000:  |11|2|3|5||Bluetooth|

***********************************************
 when I do :

'mmecli newtrksession l "Select fid from library where msid=2" '

result is:

(rc=0,errno=0) new trksessionid=1.  Execution Time=0.021

*************************************************

 when I do :

'mmecli settrksession 1'

result is:

(rc=0,errno=0) Set trksessionid=1.  Execution Time=0.052

**************************************************

 when I do :

'mmecli play'

result is:

(rc=-1,errno=61) Playing from tracksession fid/bid = 0.  Execution Time=0.067

******************************************************

And my  io-fs-media(avrcpexample)  has not recerve any cmd from MME.

When I run  'io-fs-media -davrcpexample,verbose=10'

I can receive some devctl messages below , but I don't think these cmd is right.

--devctl(0,0x41000212)
--devctl(0,0xc3240c36)
--devctl(0,0x318)
--devctl(0,0x318)
--devctl(0,0x318)
--devctl(0,0x318)
--devctl(0,0x318)
--devctl(0,0x318)
--devctl(0,0x40a8020d)
--devctl(0,0x41000c0b)

///////////////////////////////////////////////////////////////////////////////


 Is any problem here ?  thank you for help.



shawn