File tree 7 files changed +21
-20
lines changed
com/acuity/iot/dsa/dslink/protocol/v1
7 files changed +21
-20
lines changed Original file line number Diff line number Diff line change 1
1
# Tooling
2
2
** .classpath
3
3
** .idea
4
+ ** .iml
4
5
** .metadata
5
6
** .project
6
7
** .settings
7
- ** eclipseBin
8
+ ** / eclipseBin
8
9
9
10
# Build artifacts
11
+ .gradle
10
12
** .class
11
- ** .iml
12
- ** build
13
- ** classes
14
- ** libJar
15
- ** out
16
- ** target
17
- ** /.gradle
18
- ** javadoc
19
- ** repository
13
+ ** /build
14
+ ** /classes
15
+ ** /libJar
16
+ ** /out
17
+ ** /target
20
18
21
19
# Misc
22
20
** .bak
23
- ** .old
24
21
** .log
22
+ ** .old
25
23
** .DS_Store
26
24
27
25
# Runtime files
28
26
** .jks
29
27
** .key
30
- ** db
31
28
** nodes.json
32
29
** nodes * .zip
33
30
** test.json
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ subprojects {
4
4
apply plugin : ' maven'
5
5
6
6
group ' org.iot-dsa'
7
- version ' 0.34 .0'
7
+ version ' 0.35 .0'
8
8
9
9
sourceCompatibility = 1.6
10
10
targetCompatibility = 1.6
@@ -25,6 +25,6 @@ subprojects {
25
25
}
26
26
}
27
27
28
- task wrapper ( type : Wrapper ) {
29
- gradleVersion = ' 4.9 '
28
+ wrapper {
29
+ gradleVersion = ' 4.10 '
30
30
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -68,7 +68,11 @@ public DSIWriter getWriter() {
68
68
}
69
69
70
70
public void updateSalt (String salt ) {
71
- connectionInit .updateSalt (salt );
71
+ if ((salt == null ) || salt .equals ("1234" )) {
72
+ connectionInit = null ;
73
+ } else {
74
+ connectionInit .updateSalt (salt );
75
+ }
72
76
}
73
77
74
78
///////////////////////////////////////////////////////////////////////////
@@ -152,6 +156,7 @@ protected void onConnect() {
152
156
connOk ();
153
157
} catch (Exception x ) {
154
158
connDown (DSException .makeMessage (x ));
159
+ connectionInit = null ;
155
160
}
156
161
}
157
162
Original file line number Diff line number Diff line change 7
7
import org .iot .dsa .util .DSUtil ;
8
8
9
9
/**
10
- * All node children have corresponding DSInfo instances. This type serves two purposes:
10
+ * All node children have corresponding DSInfo instances. DSInfo serves two purposes:
11
11
* <ul>
12
- * <li>It carries some meta-data about the relationship between the parent node and the
12
+ * <li>It carries meta-data about the relationship between the parent node and the
13
13
* child.
14
14
* <li>It tracks whether or not the child matches a declared default.
15
15
* </ul>
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-4.9 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-4.10 -bin.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments