Skip to content

Commit 95a859b

Browse files
2.3.1
1 parent 5145570 commit 95a859b

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed
74.8 KB
Binary file not shown.

FastBLE.apk

-1.14 KB
Binary file not shown.

FastBleLib/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
defaultConfig {
88
minSdkVersion 14
99
targetSdkVersion 22
10-
versionCode 231
11-
versionName "2.3.1"
10+
versionCode 232
11+
versionName "2.3.2"
1212
}
1313
buildTypes {
1414
release {

FastBleLib/src/main/java/com/clj/fastble/bluetooth/BleBluetooth.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,9 @@ public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState
363363

364364
bluetoothGatt = gatt;
365365

366-
if (newState == BluetoothProfile.STATE_CONNECTED) {
366+
mainHandler.removeMessages(BleMsg.MSG_CONNECT_OVER_TIME);
367367

368+
if (newState == BluetoothProfile.STATE_CONNECTED) {
368369
Message message = mainHandler.obtainMessage();
369370
message.what = BleMsg.MSG_DISCOVER_SERVICES;
370371
mainHandler.sendMessageDelayed(message, 500);

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,17 @@ If you want to quickly preview all the functions, you can download APK as a test
3232
<dependency>
3333
<groupId>com.clj.fastble</groupId>
3434
<artifactId>FastBleLib</artifactId>
35-
<version>2.3.1</version>
35+
<version>2.3.2</version>
3636
<type>pom</type>
3737
</dependency>
3838

3939
### Gradle
4040

41-
compile 'com.clj.fastble:FastBleLib:2.3.1'
41+
compile 'com.clj.fastble:FastBleLib:2.3.2'
4242

4343
### Jar
4444

45-
[FastBLE-2.3.1.jar](https://github.com/Jasonchenlijian/FastBle/raw/master/FastBLE-2.3.1.jar)
45+
[FastBLE-2.3.2.jar](https://github.com/Jasonchenlijian/FastBle/raw/master/FastBLE-2.3.2.jar)
4646

4747

4848
## Wiki

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ android {
88
applicationId "com.clj.blesample"
99
minSdkVersion 14
1010
targetSdkVersion 27
11-
versionCode 231
12-
versionName "2.3.1"
11+
versionCode 232
12+
versionName "2.3.2"
1313
}
1414
buildTypes {
1515
release {

0 commit comments

Comments
 (0)