File tree 2 files changed +8
-7
lines changed
bundles/org.openhab.binding.mercedesme/src/main/java/org/openhab/binding/mercedesme/internal
2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -322,12 +322,12 @@ public class Constants {
322
322
public static final String WEBSOCKET_USER_AGENT_CN = "MyStarCN/1.27.0 (com.daimler.ris.mercedesme.cn.ios; build:1758; iOS 16.3.1) Alamofire/5.4.0" ;
323
323
public static final String WEBSOCKET_USER_AGENT_PA = "mycar-store-ap v1.27.0, android 8.0.0, SDK 2.84.3" ;
324
324
325
- public static final String RIS_APPLICATION_VERSION_NA = "3.40 .0" ;
326
- public static final String RIS_APPLICATION_VERSION_CN = "1.39 .0" ;
327
- public static final String RIS_APPLICATION_VERSION_PA = "1.40 .0" ;
328
- public static final String RIS_APPLICATION_VERSION = "1.42.0 (2168) " ;
329
- public static final String RIS_SDK_VERSION = "2.114.0 " ;
330
- public static final String RIS_SDK_VERSION_CN = "2.109 .2" ;
325
+ public static final String RIS_APPLICATION_VERSION_NA = "3.51 .0" ;
326
+ public static final String RIS_APPLICATION_VERSION_CN = "1.51 .0" ;
327
+ public static final String RIS_APPLICATION_VERSION_PA = "1.51 .0" ;
328
+ public static final String RIS_APPLICATION_VERSION = "1.51.0 " ;
329
+ public static final String RIS_SDK_VERSION = "2.132.2 " ;
330
+ public static final String RIS_SDK_VERSION_CN = "2.132 .2" ;
331
331
public static final String RIS_OS_VERSION = "17.4.1" ;
332
332
public static final String RIS_OS_NAME = "ios" ;
333
333
public static final String X_APPLICATIONNAME = "mycar-store-ece" ;
Original file line number Diff line number Diff line change 33
33
import org .eclipse .jetty .http .HttpHeader ;
34
34
import org .eclipse .jetty .websocket .client .ClientUpgradeRequest ;
35
35
import org .json .JSONArray ;
36
+ import org .json .JSONException ;
36
37
import org .json .JSONObject ;
37
38
import org .openhab .binding .mercedesme .internal .Constants ;
38
39
import org .openhab .binding .mercedesme .internal .config .AccountConfiguration ;
@@ -521,7 +522,7 @@ private Map<String, Object> getCapabilities(String vin) {
521
522
// store in cache
522
523
capabilitiesMap .put (vin , featureMap );
523
524
return featureMap ;
524
- } catch (InterruptedException | TimeoutException | ExecutionException e ) {
525
+ } catch (InterruptedException | TimeoutException | ExecutionException | JSONException e ) {
525
526
logger .trace ("Error retrieving capabilities: {}" , e .getMessage ());
526
527
featureMap .clear ();
527
528
}
You can’t perform that action at this time.
0 commit comments