diff --git a/cloud-sdk/src/main/java/com/dji/sdk/cloudapi/control/LensStorageSettingsEnum.java b/cloud-sdk/src/main/java/com/dji/sdk/cloudapi/control/LensStorageSettingsEnum.java index 869c5ea..0cee0a9 100644 --- a/cloud-sdk/src/main/java/com/dji/sdk/cloudapi/control/LensStorageSettingsEnum.java +++ b/cloud-sdk/src/main/java/com/dji/sdk/cloudapi/control/LensStorageSettingsEnum.java @@ -19,6 +19,8 @@ public enum LensStorageSettingsEnum { WIDE("wide"), + VISION("vision"), + INFRARED("ir"); private final String lens; diff --git a/cloud-sdk/src/main/java/com/dji/sdk/cloudapi/flightarea/api/AbstractFlightAreaService.java b/cloud-sdk/src/main/java/com/dji/sdk/cloudapi/flightarea/api/AbstractFlightAreaService.java index c0bc9bc..910acca 100644 --- a/cloud-sdk/src/main/java/com/dji/sdk/cloudapi/flightarea/api/AbstractFlightAreaService.java +++ b/cloud-sdk/src/main/java/com/dji/sdk/cloudapi/flightarea/api/AbstractFlightAreaService.java @@ -35,7 +35,7 @@ public abstract class AbstractFlightAreaService { * @param gateway gateway device * @return services_reply */ - @CloudSDKVersion(since = CloudSDKVersionEnum.V1_0_0, exclude = GatewayTypeEnum.RC, include = GatewayTypeEnum.DOCK) + @CloudSDKVersion(since = CloudSDKVersionEnum.V1_0_0, exclude = GatewayTypeEnum.RC, include = {GatewayTypeEnum.DOCK, GatewayTypeEnum.DOCK2}) public TopicServicesResponse flightAreasUpdate(GatewayManager gateway) { return servicesPublish.publish( gateway.getGatewaySn(), diff --git a/cloud-sdk/src/main/java/com/dji/sdk/config/version/CloudSDKVersionEnum.java b/cloud-sdk/src/main/java/com/dji/sdk/config/version/CloudSDKVersionEnum.java index 52a20b0..ec37034 100644 --- a/cloud-sdk/src/main/java/com/dji/sdk/config/version/CloudSDKVersionEnum.java +++ b/cloud-sdk/src/main/java/com/dji/sdk/config/version/CloudSDKVersionEnum.java @@ -15,7 +15,9 @@ public enum CloudSDKVersionEnum { V1_0_2("1.0.2"), - DEFAULT("1.0.2"), + V1_0_3("1.0.3"), + + DEFAULT("1.0.3"), V99("99"); diff --git a/cloud-sdk/src/main/java/com/dji/sdk/config/version/Dock2ThingVersionEnum.java b/cloud-sdk/src/main/java/com/dji/sdk/config/version/Dock2ThingVersionEnum.java index 9f0d15d..0b10d77 100644 --- a/cloud-sdk/src/main/java/com/dji/sdk/config/version/Dock2ThingVersionEnum.java +++ b/cloud-sdk/src/main/java/com/dji/sdk/config/version/Dock2ThingVersionEnum.java @@ -14,6 +14,8 @@ public enum Dock2ThingVersionEnum implements IThingVersion { V1_1_2("1.1.2", CloudSDKVersionEnum.V1_0_1), + V1_2_0("1.2.0", CloudSDKVersionEnum.V1_0_3), + ; private final String thingVersion; diff --git a/cloud-sdk/src/main/java/com/dji/sdk/config/version/DroneThingVersionEnum.java b/cloud-sdk/src/main/java/com/dji/sdk/config/version/DroneThingVersionEnum.java index 3d3ca79..280542a 100644 --- a/cloud-sdk/src/main/java/com/dji/sdk/config/version/DroneThingVersionEnum.java +++ b/cloud-sdk/src/main/java/com/dji/sdk/config/version/DroneThingVersionEnum.java @@ -23,6 +23,8 @@ public enum DroneThingVersionEnum implements IThingVersion { V1_1_3("1.1.3", CloudSDKVersionEnum.V1_0_2), + V1_2_0("1.2.0", CloudSDKVersionEnum.V1_0_3), + ; private static final Logger log = LoggerFactory.getLogger(DroneThingVersionEnum.class); diff --git a/pom.xml b/pom.xml index fd51c25..363dc0c 100644 --- a/pom.xml +++ b/pom.xml @@ -14,8 +14,8 @@ cloud-api-sample - 1.9.0 - 1.0.2 + 1.10.0 + 1.0.3 11 11 11