Skip to content

Commit

Permalink
add webengine_websocket to TransportTypeProfileStringFromDeviceHandle (
Browse files Browse the repository at this point in the history
…#3520)

* add webengine_websocket to TransportTypeProfileStringFromDeviceHandle

* differentiate transport name from cloud

* add WEBSOCKET and WEBENGINE devices to ini file
  • Loading branch information
iCollin authored Sep 29, 2020
1 parent 97e98cb commit 438a5c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/appMain/smartDeviceLink.ini
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ OpenAttemptTimeoutMsResumptionDB = 500
; Social, BackgroundProcess, Testing, System, Projection, RemoteControl,
; EmptyApp
; Possible transport types: TCP_WIFI, IAP_CARPLAY, IAP_USB_HOST_MODE, IAP_USB_DEVICE_MODE,
; IAP_USB, AOA_USB, IAP_BLUETOOTH, SPP_BLUETOOTH
; IAP_USB, AOA_USB, IAP_BLUETOOTH, SPP_BLUETOOTH, WEBSOCKET,
; WEBENGINE
;
; The default behavior is to always enable resumption. If an AppHMIType is not listed in this
; section, resumption is enabled for an app with the AppHMIType.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,8 @@ ConnectionHandlerImpl::TransportTypeProfileStringFromDeviceHandle(
return std::string("IAP_CARPLAY");
} else if (connection_type == "CLOUD_WEBSOCKET") {
return std::string("WEBSOCKET");
} else if (connection_type == "WEBENGINE_WEBSOCKET") {
return std::string("WEBENGINE");
#ifdef BUILD_TESTS
} else if (connection_type == "BTMAC") {
return std::string("BTMAC");
Expand Down

0 comments on commit 438a5c9

Please sign in to comment.