the callback using BLE bluetoothgattcallback is slow, mainly because the callback is slow for about 15 seconds when the device is disconnected
1. Use connectGatt (context, false, gattCallback) to connect Bluetooth
2. When the Bluetooth device is powered off, it takes a long time to detect;
has any warrior ever encountered it? Ask for advice!