方法2:blueadapter.enable(); 直接调Api。
3.通过蓝牙设备地址(如:54:4A:16:1F:41:79),通过蓝牙设备地址获取BluetoothDevice对象,然后调用connectGatt()方法,获取BluetoothGatt设备,直到目前最新的Android4.4.2,Android手机只能作为中央来使用和处理数据