Skip to content

Commit

Permalink
Merge pull request #277 from NordicSemiconductor/dev
Browse files Browse the repository at this point in the history
nRF Mesh release v2.1.3
  • Loading branch information
roshanrajaratnam authored Nov 21, 2019
2 parents 3afe508 + 1c31599 commit a6ad753
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Example/nrf-mesh/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ android {
applicationId "no.nordicsemi.android.nrfmeshprovisioner"
minSdkVersion 18
targetSdkVersion 29
versionCode 58
versionName "2.1.2"
versionCode 59
versionName "2.1.3"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
vectorDrawables.useSupportLibrary = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
import no.nordicsemi.android.ble.callback.DataSentCallback;

public class BleMeshManager extends LoggableBleManager<BleMeshManagerCallbacks> {
private static final int MTU_SIZE_DEFAULT = 23;
private static final int MTU_SIZE_MAX = 517;

/**
Expand Down Expand Up @@ -123,6 +124,8 @@ protected void initialize() {

@Override
protected void onDeviceDisconnected() {
//We reset the MTU to 23 upon disconnection
overrideMtu(MTU_SIZE_DEFAULT);
mIsDeviceReady = false;
isProvisioningComplete = false;
mMeshProvisioningDataInCharacteristic = null;
Expand Down
4 changes: 2 additions & 2 deletions android-nrf-mesh-library/meshprovisioner/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ android {
defaultConfig {
minSdkVersion 18
targetSdkVersion 29
versionCode 58
versionName "2.1.2"
versionCode 59
versionName "2.1.3"

javaCompileOptions {
annotationProcessorOptions {
Expand Down

0 comments on commit a6ad753

Please sign in to comment.