tytung wrote:marco.palumbi wrote:tytung wrote:In config.xml (source code overlay for framework-res.apk), config_tether_bluetooth_regexs is set to bnep.
I don't know where to check bt-pan so far.
- Code: Select all
<!-- List of regexpressions describing the interface (if any) that represent tetherable
USB interfaces. If the device doesn't want to support tething over USB this should
be empty. An example would be "usb.*" -->
<string-array translatable="false" name="config_tether_usb_regexs">
<item>"usb0"</item>
</string-array>
<!-- List of regexpressions describing the interface (if any) that represent tetherable
Wifi interfaces. If the device doesn't want to support tethering over Wifi this
should be empty. An example would be "softap.*" -->
<string-array translatable="false" name="config_tether_wifi_regexs">
<item>"wl0.1"</item>
</string-array>
<!-- List of regexpressions describing the interface (if any) that represent tetherable
bluetooth interfaces. If the device doesn't want to support tethering over bluetooth this
should be empty. -->
<string-array translatable="false" name="config_tether_bluetooth_regexs">
<item>"bnep\\d"</item>
</string-array>
<!-- Array of ConnectivityManager.TYPE_xxxx values allowable for tethering -->
<!-- Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or
<!== [0,1,5,7] for TYPE_MOBILE, TYPE_WIFI, TYPE_MOBILE_HIPRI and TYPE_BLUETOOTH -->
<integer-array translatable="false" name="config_tether_upstream_types">
<item>0</item>
<item>1</item>
<item>5</item>
<item>7</item>
</integer-array>
well...probabily the Bluetooth implementation has changed.
Now when you start theter the network interface is named
bt-pan intead of
bnep0please try to compile framework-res.apk changing bnep\\d into bt-pan
i can test it
Please flash
framework-res.apk_JB-v2.3-bt-pan.zip. I didn't test it yet.
Thanks.
BTW, I change it to 'bt\-pan' since it is regular expression.
Tytung,
I got exactly the same error.
are you shure that \ is needed before - ? as far I remember - has no special meaning in regular expression...
further, if you want to use \ you must put it double:
bt\\-pan because of the string sintax excape...
can you please compile two apk one with
bt-pan and one with
bt\\-pan so i can test both ?
-