PCCar.ru - Ваш автомобильный компьютер

Вернуться   PCCar.ru - Ваш автомобильный компьютер > MP3Car ТехИнфа > AndroidCar > Беcпроводные коммуникации > Bluetooth

Ответ
 
Опции темы Поиск в этой теме
Старый 19.09.2013, 23:13   #21
Kacap
Старший Пользователь
 
Регистрация: 13.07.2010
Возраст: 40
Город: Одесса
Регион: Украина
Машина: Lexus RX350 '07 US
Сообщений: 476
Kacap has a spectacular aura aboutKacap has a spectacular aura aboutKacap has a spectacular aura about
По умолчанию

какая бутылка требуется? готов выставить
__________________
Lexus RX350 '07, US, Android TV Box на родной монитор - установлено и работает
было: Toyota Carina ED '94, Android PC: Nexus 7, USB audio DAC Muse ч/з toslink на Challenger TA5.1, WiFi 3G роутер Novatel MiFi 5510L. Съемный вариант, работало на 99% как часы.
Kacap вне форума   Ответить с цитированием
Старый 20.09.2013, 00:25   #22
macau
Старший Пользователь
 
Регистрация: 22.10.2012
Регион: 78, 98
Сообщений: 758
macau is just really nicemacau is just really nicemacau is just really nicemacau is just really nice
По умолчанию

херней не майтесь, да? в 4.1 выкинули bluez, в 4.2 поломали вообще все, в 4.3 засунули какой-то адовый велосипед (точнее отдали весь стек на откуп вендорам)
если нужно прикрутить таки хфп профиль-нужно брать отдельную железку и прикручивать ее к ондроеду, как делал кое-кто. но он окуклился, и никакой инфы от него больше нет
macau вне форума   Ответить с цитированием
Старый 20.09.2013, 00:35   #23
Rage2
Banned
 
Регистрация: 06.11.2009
Возраст: 38
Город: Nizhniy Novgorod
Регион: 52
Машина: Ford Focus III
Сообщений: 1,776
Rage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant future
По умолчанию

Цитата:
Сообщение от macau Посмотреть сообщение
херней не майтесь, да? в 4.1 выкинули bluez, в 4.2 поломали вообще все, в 4.3 засунули какой-то адовый велосипед (точнее отдали весь стек на откуп вендорам)
если нужно прикрутить таки хфп профиль-нужно брать отдельную железку и прикручивать ее к ондроеду, как делал кое-кто. но он окуклился, и никакой инфы от него больше нет
Если быть точнее, то в 4.1.1 он (BlueZ) еще есть, иначе как тогда у меня пашет юсб-бт?

а в 4.2 да...-"выкинули bluez" и "поломали вообще все".

хотя СМ-мовцы в СМ10.1 что-то прикрутили и юсб-бт снова пашут, но исключительно на CSR чипах.
Rage2 вне форума   Ответить с цитированием
Старый 20.09.2013, 00:36   #24
DmitrySmol
Старший Пользователь
 
Аватар для DmitrySmol
 
Регистрация: 20.04.2011
Возраст: 45
Город: Минск
Регион: Беларусь
Машина: Subaru Forester '09
Сообщений: 646
DmitrySmol is a glorious beacon of lightDmitrySmol is a glorious beacon of lightDmitrySmol is a glorious beacon of lightDmitrySmol is a glorious beacon of lightDmitrySmol is a glorious beacon of light
По умолчанию

macau он не окуклился, а просто чего хотел того добился. Мутить отдельную железку - вариант самый очевидный и лежит на поверхности. Но отдельная железка это ~35$.
__________________
Мой проект:
SUBARU Forester '09
DmitrySmol вне форума   Ответить с цитированием
Старый 20.09.2013, 00:55   #25
alexvtk
Гуру
 
Аватар для alexvtk
 
Регистрация: 08.04.2011
Город: Железногорск, Красноярский край
Регион: 24
Машина: Toyota Prius NHW20, 2008, Park Assist (продана), Chevrolet Lanos, 2006, 1,5
Сообщений: 1,612
alexvtk is just really nicealexvtk is just really nicealexvtk is just really nicealexvtk is just really nicealexvtk is just really nice
По умолчанию

Цитата:
Сообщение от Rage2 Посмотреть сообщение

хотя СМ-мовцы в СМ10.1 что-то прикрутили и юсб-бт снова пашут, но исключительно на CSR чипах.
Только у них еще одно условие. БТ свисток подключать после загрузки девайса, "очень удобно"(((
__________________
Toyota Prius NHW20, 2008, Park Assist, Android CarPc: планшет 7" Ployer momo9 (Allwinner A10) - заменен на Pipo U1pro, Bluetooth GPS, диагностика BT ELM327, Мегафон модем и Wi-Fi роутер TPLINK-MR3020. Фильтр помех по звуку на ВА3121.
(продана)
Chevrolet Lanos, 2006, 1,5. Андроид ГУ Infidini, 2й монитор с тач. контроллером от YAM, кзх, БК Multitronics MPC-800

Мой проект
Апгрейд проекта
Видео
Видео оболочки
Видео оболочки 2

Видео апгрейда
alexvtk вне форума   Ответить с цитированием
Старый 20.09.2013, 00:56   #26
Rage2
Banned
 
Регистрация: 06.11.2009
Возраст: 38
Город: Nizhniy Novgorod
Регион: 52
Машина: Ford Focus III
Сообщений: 1,776
Rage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant future
По умолчанию

Цитата:
Сообщение от alexvtk Посмотреть сообщение
Только у них еще одно условие. БТ свисток подключать после загрузки девайса, "очень удобно"(((
Мляя.....это не поэтому) долго объяснять...просто Трой так сделал(ввиде патча)
Rage2 вне форума   Ответить с цитированием
Старый 20.09.2013, 01:14   #27
alexvtk
Гуру
 
Аватар для alexvtk
 
Регистрация: 08.04.2011
Город: Железногорск, Красноярский край
Регион: 24
Машина: Toyota Prius NHW20, 2008, Park Assist (продана), Chevrolet Lanos, 2006, 1,5
Сообщений: 1,612
alexvtk is just really nicealexvtk is just really nicealexvtk is just really nicealexvtk is just really nicealexvtk is just really nice
По умолчанию

Цитата:
Сообщение от Rage2 Посмотреть сообщение
Мляя.....это не поэтому) долго объяснять...просто Трой так сделал(ввиде патча)
Ага, коннчно, это фича гениального Троя. Только эта фича и на RK и на AML. Я его пол года назад споашивал про усб аудио на AML. Просто вежливо послал. Типа, нет и не будет. Получается для А10 СМ кастомами рулил Трой и сейчас он рулит. п
Печально(((
__________________
Toyota Prius NHW20, 2008, Park Assist, Android CarPc: планшет 7" Ployer momo9 (Allwinner A10) - заменен на Pipo U1pro, Bluetooth GPS, диагностика BT ELM327, Мегафон модем и Wi-Fi роутер TPLINK-MR3020. Фильтр помех по звуку на ВА3121.
(продана)
Chevrolet Lanos, 2006, 1,5. Андроид ГУ Infidini, 2й монитор с тач. контроллером от YAM, кзх, БК Multitronics MPC-800

Мой проект
Апгрейд проекта
Видео
Видео оболочки
Видео оболочки 2

Видео апгрейда
alexvtk вне форума   Ответить с цитированием
Старый 20.09.2013, 01:40   #28
oops1
Старший Пользователь
 
Аватар для oops1
 
Регистрация: 25.07.2009
Возраст: 43
Город: Москва
Регион: 77, 97, 99, 177
Машина: Audi Q7
Сообщений: 493
oops1 is on a distinguished road
По умолчанию

выкачал исходники Android 2.2

стек блютус broadcom, от blueZ нашел только заголовочные файлы.

Профиль HFP есть, сервис HFP тоже есть, вот только в сервисе есть метод который называется
PHP код:
 boolean acceptIncomingConnect(BluetoothDevice device) {
        
// TODO(BT) remove it if stack does access control
        
return false;
    } 
отсюда получается, если телефон будет конектится к планшету , то он этот профиль не увидит. если планшет будет коннектится к хандстфри то профиль активируется нормально.

продолжаю копать

блин ну по любому же есть среди нас спецы по андроиду, все ограничились только интернетом ?

я не вижу стены которая бы не позволяла запустить хандстфри все упирается в скилы того человека который за это возьмется.
oops1 вне форума   Ответить с цитированием
Старый 20.09.2013, 01:44   #29
DmitrySmol
Старший Пользователь
 
Аватар для DmitrySmol
 
Регистрация: 20.04.2011
Возраст: 45
Город: Минск
Регион: Беларусь
Машина: Subaru Forester '09
Сообщений: 646
DmitrySmol is a glorious beacon of lightDmitrySmol is a glorious beacon of lightDmitrySmol is a glorious beacon of lightDmitrySmol is a glorious beacon of lightDmitrySmol is a glorious beacon of light
По умолчанию

oops1 на самом деле спецов таких тут, что бы собрать все до кучи нету. )
а что если подправить данный метод? Вторая проблема, пересобрать все и установить.

P.S. Хотя, соврал. tsynik?
__________________
Мой проект:
SUBARU Forester '09
DmitrySmol вне форума   Ответить с цитированием
Старый 20.09.2013, 03:01   #30
Rage2
Banned
 
Регистрация: 06.11.2009
Возраст: 38
Город: Nizhniy Novgorod
Регион: 52
Машина: Ford Focus III
Сообщений: 1,776
Rage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant futureRage2 has a brilliant future
По умолчанию

alexvtk, не мути воду, пожалуйста =)
На руках появилась Ainol Aurora2 (AML) ....думаю будет тебе юсб аудио)
Только плиз...не флуди тут не потеме...

oops1, на руках есть Parrot Asteroid Tablet, там как понимаешь все работает в лучшем виде....
могу логами подсобить....или внутрянкой


Вот что в логах при включении БТ в настройках...
Цитата:
D/BluetoothService( 1251): Bluetooth state 10 -> 11
V/BluetoothStateWatcher( 2949): Received intent Intent { act=android.bluetooth.adapter.action.STATE_CHANGED flg=0x10000000 (has extras) }
D/PhoneBluetoothStateReceiver( 1351): onReceive: android.bluetooth.adapter.action.STATE_CHANGED
V/BluetoothEventRedirector( 1462): Received android.bluetooth.adapter.action.STATE_CHANGED
D/BluetoothSettings( 1462): Receive BT event: Intent { act=android.bluetooth.adapter.action.STATE_CHANGED flg=0x10000000 (has extras) }
D/BluetoothService( 1251): bt EnableThread starting thread
I/sh ( 2962): mlan0 rateadapt:2 8088 6 3
I/logwrapper( 2962): sh terminated by exit(0)
W/HSTIServiceWorker( 1251): Remote exception (sender: 1079190128)
W/HSTIServiceWorker( 1251): Cannot dispatch event PHFP(sender: 0)
I//system/xbin/fidjitb( 996): identify = *PBDADDR: payload = 9003B781D164
D/BluetoothEventLoop( 1251): Starting Event Loop thread
D/BluetoothService( 1251): bt EnableThread BT enabled (9)
D/BluetoothService( 1251): FileNotFoundException: in copyAutoPairingData
D/BluetoothService( 1251): FileNotFoundException: readAutoPairingDatajava.io.FileNotFoundException: /data/misc/bluetooth/dynamic_auto_pairing.conf (No such file or directory)
E/BluetoothHeadset( 1251): Could not bind to Bluetooth Headset Service
D/BluetoothService( 1251): Bluetooth state 11 -> 12
V/BluetoothEventRedirector( 1462): Received android.bluetooth.adapter.action.STATE_CHANGED
V/BluetoothStateWatcher( 2949): Received intent Intent { act=android.bluetooth.adapter.action.STATE_CHANGED flg=0x10000000 (has extras) }
W/ActivityManager( 1251): Unable to start service Intent { act=android.bluetooth.IBluetoothHeadset }: not found
D/BluetoothStateWatcher( 2949): Bluetooth has been enabled, notify observer
V/AsteroidBluetoothService( 2949): Bluetooth is enable, building device cache
V/BluetoothConnectEngine2( 2949): Bluetooth auto connection starting
V/BluetoothAutoconnectHandler( 2949): Bluetooth auto connection starting
V/BluetoothAutoconnectHandler( 2949): Bluetooth auto connection starting
V/BluetoothPropertiesWatcher( 2949): Starting watcher
D/PhoneBluetoothStateReceiver( 1351): onReceive: android.bluetooth.adapter.action.STATE_CHANGED
D/PhoneBluetoothStateReceiver( 1351): Bluetooth has been enabled, notify PhoneApplication
D/BluetoothSettings( 1462): Receive BT event: Intent { act=android.bluetooth.adapter.action.STATE_CHANGED flg=0x10000000 (has extras) }
V/A2DPPlayerWatcher( 2949): Starting a2dp watcher
D/MediaProvider( 1668): query uri=content://parrotmedia/ projection=[type, state] selection= selectionArgs=null
V/BluetoothDeviceWatcher( 2949): Starting watcher
V/BluetoothAclConnectionWatcher( 2949): Starting watcher
V/BluetoothServiceConnectionWatcher( 2949): Starting watcher
V/BluetoothPropertiesWatcher( 2949): Starting watcher
V/BluetoothDeviceCache( 2949): Multi HFP state changed, new state is disable
V/BluetoothDataConnectionWatcher( 2949): Starting watcher
D/BluetoothDeviceListStore( 2949): Loading saved device list
V/BluetoothDeviceListStore( 2949): opening btautocon.dat
V/BluetoothDeviceListStore( 2949): list length= 0
D/BluetoothDeviceListStore( 2949): Updating device list
V/BluetoothServiceController( 2949): Starting controller
D/BluetoothAdapter( 2949): getProfileProxy(HFP)
D/BluetoothAdapter( 2949): getProfileProxy(DUN)
D/BluetoothAdapter( 2949): getProfileProxy(PAN)
D/BluetoothAdapter( 2949): getProfileProxy(A2DP_SINK)
V/BluetoothHFPController( 2949): Starting controller
D/BluetoothAdapter( 2949): getProfileProxy(HFP)
E/GenericCommand( 1251): Command PATR_Q have generated an error ERR_STATE_NO_ACTIVE_DEVICE
E/GenericCommand( 1251): Command PATR_Q have generated an error ERR_STATE_NO_ACTIVE_DEVICE
V/BluetoothIncomingConnectionWatcher( 2949): Starting incoming connection watcher
I/BluetoothDeviceCache( 2949): onCallStateChanged, state = 0
V/BluetoothServiceController( 2949): Service Connected for profile 7
V/BluetoothServiceController( 2949): Service Connected for profile 8
V/BluetoothServiceController( 2949): Service Connected for profile 5
V/BluetoothServiceController( 2949): Service Connected for profile 9
V/BluetoothServiceController( 2949): All service connected, Scheduling request handler
V/AsteroidBluetoothManager( 1462): Device list ready, sending MSG_DEVICE_LIST_READY
D/BluetoothServicesPolicyHandler( 2949): Ensure Policy is respected
V/BluetoothHFPController( 2949): BluetoothHFP Service Connected
V/AsteroidBluetoothManager( 1462): Device list is ready, building client cache
D/dalvikvm( 1251): GC_CONCURRENT freed 1361K, 44% free 5210K/9287K, external 4378K/4472K, paused 5ms+7ms
V/BluetoothDeviceCache( 2949): updateDeviceOrder
V/BluetoothDeviceCache( 2949): primary phone is null secondary phone is null
D/BluetoothService( 1251): Registering hfag record
D/BluetoothService( 1251): Registering hsag record
D/BluetoothService( 1251): Registering opush record
D/BluetoothService( 1251): Registering pbap record

Последний раз редактировалось Rage2; 20.09.2013 в 04:45.
Rage2 вне форума   Ответить с цитированием
Ответ


Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.



Часовой пояс GMT +4, время: 14:48.


Работает на vBulletin® версия 3.8.4.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Перевод: zCarot