Page 7 of 21

Re: Bluetooth Audio Support

Posted: Sun Aug 21, 2016 5:55 pm
by notengo13
wluczykijwf wrote:@notengo13, Quoted the link is correct. I mean logs of new version libFactory on H series. :D
Ok. I was confused with libfactory log

Re: Bluetooth Audio Support

Posted: Sun Aug 21, 2016 7:35 pm
by sectroyer
Confirmed that with "some tricks" it even works on 1108 :) But on most fw versions it should work only with setting option in SM :)

Re: Bluetooth Audio Support

Posted: Sun Aug 21, 2016 7:47 pm
by wluczykijwf
@sectroyer, Do tested with BT headphone?

Re: Bluetooth Audio Support

Posted: Sun Aug 21, 2016 8:17 pm
by sectroyer
wluczykijwf wrote:@sectroyer, Do tested with BT headphone?
Of course ALL work :)

Re: Bluetooth Audio Support

Posted: Sun Aug 21, 2016 8:19 pm
by wluczykijwf
Nice :)

Re: Bluetooth Audio Support

Posted: Sun Aug 21, 2016 8:32 pm
by notengo13
Can you pair more than one BT headphones/speakers?

Re: Bluetooth Audio Support

Posted: Sun Aug 21, 2016 9:55 pm
by sectroyer
notengo13 wrote:Can you pair more than one BT headphones/speakers?
Looks gui allows it but didn't try. Does this work for you ? :) I see you have correct FW to check it :)

Re: Bluetooth Audio Support

Posted: Mon Aug 22, 2016 12:31 am
by hudd0
wluczykijwf wrote:
sectroyer wrote:Awesome, so you were able to find the option in service menu? Where was it ? :)
It is app
I found it after analysis and test a latest libFactory code by @zoelechat

Code: Select all

typedef union
{
	const void *procs[2];
	struct
	{
		void **g_pTaskManager;		
		const int (*CTaskManager_RunApp)(void *this, int tvApp, int factoryApp, int zero1, int zero2);
	};
} samyGO_whacky_t;

samyGO_whacky_t hCTX = 
{

	(const void*)"g_pTaskManager",	
	(const void*)"_ZN12CTaskManager6RunAppE15DTV_APPLICATIONS0_mi",

};
Execute the app Bluetooth handphone search

Code: Select all

hCTX.CTaskManager_RunApp(*hCTX.g_pTaskManager, 2, 65, 0, 0);

Sorry guys, maybe a stupid question... I dont understand this point of wluczykijwf...
hCTX.CTaskManager_RunApp(*hCTX.g_pTaskManager, 2, 65, 0, 0);
OK on F Series 65 is the app which should be run, but how could i run the app exactly??

Should i enter a special parameter while firing up the libFactory.so?
Or should i modify and recompile/hardcode the libFactory sourcecode of zoelchat with the 65 parameter?

(I'm on ES-8090...)

Re: Bluetooth Audio Support

Posted: Mon Aug 22, 2016 2:19 am
by notengo13
sectroyer wrote:
notengo13 wrote:Can you pair more than one BT headphones/speakers?
Looks gui allows it but didn't try. Does this work for you ? :) I see you have correct FW to check it :)

for now I can only confirm that I can change sound output to bluetooh speaker/headphones activating BT_audio in SM. before I had no such options in settings of sound. FW 2115.3. Later I will try to borrow some bluetooth speaker to try if works.

Re: Bluetooth Audio Support

Posted: Mon Aug 22, 2016 9:46 am
by zoelechat
Option exists on T-ECP, actually it exists on all D/E/F/H except E-MST (that's why I can't make reliable tests myself :) )
For those who can't open bluetooth "app" despite option activated, here's lib we used for testing with sectroyer.

@wluczykijwf FYI app number is 60 on E but here I use a single common to D/E/F/H codeline:

Code: Select all

CBluetoothAppBase_RunApplication();
Usage:
-Extract to anywhere on TV (/tmp for example)
-Open Tools or Main menu, let it opened
-Inject

Code: Select all

samyGOso -A -B -l /tmp/libBTHP.so
Beware that setting BT_AUDIO_ON_OFF to ON obviously remains mandatory, otherwise TV won't detect any device.

edit:
Btw, I also got it to appear into Tools Menu, I may add it to libToolsMenu one day ;)
20160821103548_EUROSPORT 1_CRESCENT VARGARDA.jpg