Open f262866551 opened 1 year ago
连接蓝牙后会报 @Override public void onRequestFailed(@NonNull Request request, int failType, int gattStatus, @Nullable Object value) { if (gattStatus != -1) { switch(gattStatus) { case BluetoothGatt.GATT_REQUEST_NOT_SUPPORTED: ToastUtils.showShort("请求不支持"); break; default: break; } } }
但是应用市场那个就能正常传数据
应用市场蓝牙宝能在三星上搜索出广播,用开源的就是不行。。。
连接蓝牙后会报 @Override public void onRequestFailed(@NonNull Request request, int failType, int gattStatus, @Nullable Object value) { if (gattStatus != -1) { switch(gattStatus) { case BluetoothGatt.GATT_REQUEST_NOT_SUPPORTED: ToastUtils.showShort("请求不支持"); break; default: break; } } }