android4.0.3, mstar平台,BoardConfig.mk中的BOARD_HAVE_BLUETOOTH := true,WirelessSetting.java中的飞行模式已经关闭,驱动已经挂载但是蓝牙不能使能
static jint enableNative(JNIEnv *env, jobject object) {
#ifdef HAVE_BLUETOOTH
LOGE("%s", __FUNCTION__);
return bt_enable();
#endif
return -1;
}
不能ruturn bt_enable();
求助问题出在什么地方?
static jint enableNative(JNIEnv *env, jobject object) {
#ifdef HAVE_BLUETOOTH
LOGE("%s", __FUNCTION__);
return bt_enable();
#endif
return -1;
}
不能ruturn bt_enable();
求助问题出在什么地方?
D/BluetoothAdapterStateMachine( 929): Bluetooth state 10 -> 11
E/BluetoothService.cpp( 929): failed to prepare bluetooth, abort turning on
D/dalvikvm( 1094): GC_CONCURRENT freed 93K, 55% free 3171K/7043K, paused 2ms+3ms
D/BluetoothAdapterStateMachine( 929): PowerOff process message: 1