Closed KazuCocoa closed 4 months ago
If http://<ip>:8001/api/v2/ does not have "TokenAuthSupport": "true" in the device key, the paring https://github.com/headspinio/appium-tizen-tv-driver/blob/main/packages/appium-tizen-tv-driver/lib/rc-pair.js#L19 should use 8001 instead. Maybe we can add auto detection logic there.
http://<ip>:8001/api/v2/
"TokenAuthSupport": "true"
device
curl --insecure https://192.168.11.201:8002/api/v2/ { ... "device": { "type": "Samsung SmartTV", ... "wifiMac": "cc:b1:1a:d4:62:bb", "developerMode": "1", "OS": "Tizen" }, "type": "Samsung SmartTV", "remote": "1.0", "isSupport": "{\"remote_available\":\"true\",\"remote_fourDirections\":\"true\",\"remote_touchPad\":\"true\",\"remote_voiceControl\":\"false\",\"DMP_available\":\"true\",\"DMP_DRM_PLAYREADY\":\"false\",\"DMP_DRM_WIDEVINE\":\"false\",\"EDEN_available\":\"true\"}" }
We haven't observed this case yet. Let's do when we get this case.
If
http://<ip>:8001/api/v2/
does not have"TokenAuthSupport": "true"
in thedevice
key, the paring https://github.com/headspinio/appium-tizen-tv-driver/blob/main/packages/appium-tizen-tv-driver/lib/rc-pair.js#L19 should use 8001 instead. Maybe we can add auto detection logic there.