Android connect bluetooth L2CAP device(PS4 Controller), how to do through root? -


i try connect phone l2cap device (ps4 controller), uses l2cap bluetooth connection protocol.

documentation of dualshock 4 controller: http://www.psdevwiki.com/ps4/ds4-bt

android officially not support l2cap anymore. since android 4+ 'hide' it. (but can still found everywhere in source code)

source:

https://android.googlesource.com/platform/frameworks/base/+/android-6.0.1_r31/core/java/android/bluetooth/bluetoothsocket.java

http://developer.android.com/intl/es/reference/android/bluetooth/bluetoothsocket.html

but read on internet, cannot called, trough root.

does know if can done bluedroid? or have example how root?

this impossible, because not allow calling function in package ->

 msocket = new bluetoothsocket(bluetoothsocket.type_l2cap, -1, true, true, this, 2, null); 

any or guidance appreciated!


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -