Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 38eec4d

Browse files
authored
Merge pull request #1 from highmobility/13.1.1
13.1.1
2 parents 20ff821 + 27b69ff commit 38eec4d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+3739
-285
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Changelog
2+
3+
## [13.1.1]
4+
5+
- Update to (auto api branch)[https://github.com/highmobility/auto-api/commit/3953d8963ba5f3a615f528247a8f14f57c75d41d]
6+
- Change the java lib versioning to {autoapi-level}.{sub-autoapi-level}.{jar-version}

RELEASE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
* update ext.ver values in *all* build.gradle or use -Pversion property. search for `hmkit-auto-api`
2+
* publish to sonatype staging `./gradlew :auto-api-java:publishReleasePublicationToMavenCentralRepository`
3+
* release to mavencentral manually in `https://oss.sonatype.org/#stagingRepositories`
4+
* delete utils from the Content tab there if they were not updated
5+
* press Close
6+
* refresh until Activity processes are finished
7+
* press Release
8+
* Release is available in 15 minutes. However, it is not searchable in the [search.maven.org](https://search.maven.org) for a little while.
9+
* update CHANGELOG.md and create a release from tag in GitHub. Auto generate release notes.

auto-api-java/build.gradle

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,11 @@ apply from: "https://raw.githubusercontent.com/tonisives/tools/master/gradle/jup
99

1010
sourceCompatibility = '1.8'
1111

12-
ext.ver = [
13-
"hmkit-utils" : "1.4.5",
14-
"hmkit-auto-api" : "3.13.1"
15-
]
16-
17-
ext.deps = [
18-
"utils" : "com.high-mobility:hmkit-utils:${ver."hmkit-utils"}",
19-
"findBugs": 'com.google.code.findbugs:jsr305:3.0.2'
20-
]
12+
ext.ver = ["hmkit-utils" : "1.4.5",
13+
"hmkit-auto-api": "13.1.1"]
14+
15+
ext.deps = ["utils" : "com.high-mobility:hmkit-utils:${ver."hmkit-utils"}",
16+
"findBugs": 'com.google.code.findbugs:jsr305:3.0.2']
2117

2218
dependencies {
2319
if (project.hasProperty('depLocation') == true && project.depLocation == 0) {

auto-api-java/src/main/java/com/highmobility/autoapi/Adas.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public class Adas {
5252
public static final byte PROPERTY_LANE_KEEP_ASSISTS_STATES = 0x09;
5353
public static final byte PROPERTY_PARK_ASSISTS = 0x0a;
5454
public static final byte PROPERTY_BLIND_SPOT_WARNING_SYSTEM = 0x0b;
55+
public static final byte PROPERTY_LAUNCH_CONTROL = 0x0c;
5556

5657
/**
5758
* Get ADAS property availability information
@@ -162,6 +163,7 @@ public static class State extends SetCommand {
162163
List<Property<LaneKeepAssistState>> laneKeepAssistsStates;
163164
List<Property<ParkAssist>> parkAssists;
164165
Property<OnOffState> blindSpotWarningSystem = new Property<>(OnOffState.class, PROPERTY_BLIND_SPOT_WARNING_SYSTEM);
166+
Property<ActiveState> launchControl = new Property<>(ActiveState.class, PROPERTY_LAUNCH_CONTROL);
165167

166168
/**
167169
* @return Indicates whether the driver assistance system is active or not.
@@ -240,6 +242,13 @@ public Property<OnOffState> getBlindSpotWarningSystem() {
240242
return blindSpotWarningSystem;
241243
}
242244

245+
/**
246+
* @return State of launch control activation.
247+
*/
248+
public Property<ActiveState> getLaunchControl() {
249+
return launchControl;
250+
}
251+
243252
State(byte[] bytes) {
244253
super(bytes);
245254

@@ -266,6 +275,7 @@ public Property<OnOffState> getBlindSpotWarningSystem() {
266275
parkAssistsBuilder.add(parkAssist);
267276
return parkAssist;
268277
case PROPERTY_BLIND_SPOT_WARNING_SYSTEM: return blindSpotWarningSystem.update(p);
278+
case PROPERTY_LAUNCH_CONTROL: return launchControl.update(p);
269279
}
270280

271281
return null;
@@ -428,6 +438,16 @@ public Builder setBlindSpotWarningSystem(Property<OnOffState> blindSpotWarningSy
428438
addProperty(property);
429439
return this;
430440
}
441+
442+
/**
443+
* @param launchControl State of launch control activation.
444+
* @return The builder
445+
*/
446+
public Builder setLaunchControl(Property<ActiveState> launchControl) {
447+
Property property = launchControl.setIdentifier(PROPERTY_LAUNCH_CONTROL);
448+
addProperty(property);
449+
return this;
450+
}
431451
}
432452
}
433453

0 commit comments

Comments
 (0)