File tree Expand file tree Collapse file tree 5 files changed +18
-6
lines changed
src/main/java/software/amazon/awssdk/iot Expand file tree Collapse file tree 5 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ mvn clean install
50
50
``` sh
51
51
# NOTE: use the latest version of the CRT here
52
52
53
- git clone --branch v0.10.10 https://github.com/awslabs/aws-crt-java.git
53
+ git clone --branch v0.11.2 https://github.com/awslabs/aws-crt-java.git
54
54
55
55
git clone https://github.com/awslabs/aws-iot-device-sdk-java-v2.git
56
56
cd aws-crt-java
@@ -65,7 +65,7 @@ Supports API 26 or newer.
65
65
NOTE: The shadow sample does not currently complete on android due to its dependence on stdin keyboard input.
66
66
67
67
``` sh
68
- git clone --recursive --branch v0.10.10 https://github.com/awslabs/aws-crt-java.git
68
+ git clone --recursive --branch v0.11.2 https://github.com/awslabs/aws-crt-java.git
69
69
git clone https://github.com/awslabs/aws-iot-device-sdk-java-v2.git
70
70
cd aws-crt-java/android
71
71
./gradlew connectedCheck # optional, will run the unit tests on any connected devices/emulators
@@ -86,7 +86,7 @@ repositories {
86
86
}
87
87
88
88
dependencies {
89
- implementation 'software.amazon.awssdk.crt:android:0.10.10 '
89
+ implementation 'software.amazon.awssdk.crt:android:0.11.2 '
90
90
}
91
91
```
92
92
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ repositories {
50
50
dependencies {
51
51
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
52
52
implementation project(" :iotdevicesdk" )
53
- implementation ' software.amazon.awssdk.crt:android:0.10.10 '
53
+ implementation ' software.amazon.awssdk.crt:android:0.11.2 '
54
54
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
55
55
implementation ' androidx.appcompat:appcompat:1.1.0'
56
56
implementation ' androidx.core:core:1.2.0'
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ repositories {
87
87
88
88
dependencies {
89
89
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
90
- implementation ' software.amazon.awssdk.crt:android:0.10.10 '
90
+ implementation ' software.amazon.awssdk.crt:android:0.11.2 '
91
91
implementation ' com.google.code.gson:gson:2.8.5'
92
92
implementation ' androidx.appcompat:appcompat:1.1.0'
93
93
testImplementation ' junit:junit:4.12'
Original file line number Diff line number Diff line change 42
42
<dependency >
43
43
<groupId >software.amazon.awssdk.crt</groupId >
44
44
<artifactId >aws-crt</artifactId >
45
- <version >0.10.10 </version >
45
+ <version >0.11.2 </version >
46
46
</dependency >
47
47
<dependency >
48
48
<groupId >junit</groupId >
Original file line number Diff line number Diff line change @@ -228,6 +228,18 @@ public AwsIotMqttConnectionBuilder withPingTimeoutMs(int pingTimeoutMs) {
228
228
return this ;
229
229
}
230
230
231
+ /**
232
+ * Controls timeout value for requests that response is required on healthy connection.
233
+ * If a response is not received within this interval, the request will fail as server not receiving it.
234
+ * Applied to publish (QoS>0) and unsubscribe
235
+ *
236
+ * @param protocolOperationTimeoutMs How long to wait for a request response (in milliseconds) before failing
237
+ */
238
+ public AwsIotMqttConnectionBuilder withProtocolOperationTimeoutMs (int protocolOperationTimeoutMs ) {
239
+ this .config .setProtocolOperationTimeoutMs (protocolOperationTimeoutMs );
240
+ return this ;
241
+ }
242
+
231
243
/**
232
244
* Configures the TCP socket connect timeout (in milliseconds)
233
245
*
You can’t perform that action at this time.
0 commit comments