Last active
April 11, 2016 06:19
-
-
Save sparkleholic/58dd668563e12c10d46b634364111307 to your computer and use it in GitHub Desktop.
How to check if webOS TV is enabled or not
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# if developer mode app is installed on the webOS TV. | |
# it will open several ports for communicating with SDK like CLI (command line interface) tools. | |
# if sdk doesn't work properly with dev-mode-enabled TV, | |
# you can check if the ports are opened. | |
### Linux / OSX(mac) | |
# Using netcat, you can check the following ports. | |
## 1. Check 9922 tcp port ## | |
# Developer mode app > 'Dev Mode Status' - On (tv'll reboot) | |
# Let's say tv-ip is 192.168.1.230 | |
$ nc -v 192.168.1.230 9922 | |
# (Normal Case) | |
# if tv is enable for dev-mode, 9922 port is opened. | |
# The following output will be printed. | |
found 0 associations | |
found 1 connections: | |
1: flags=82<CONNECTED,PREFERRED> | |
outif en5 | |
src (host-machine-ip) port (random-port) | |
dst 192.168.1.230 port 9922 | |
rank info not available | |
TCP aux info available | |
Connection to 192.168.1.230 port 9922 [tcp/*] succeeded! | |
# (Unexpected Case) | |
nc: connectx to 192.168.1.230 port 9922 (tcp) failed: Connection refused | |
## 2. Check 9991 tcp port ## | |
# Developer mode app > 'Key Server' - On (This is configurable when tv is enabled for dev-mode.) | |
$ nc -v 192.168.1.230 9991 | |
# if tv is enable for dev-mode, 9991 port is opened. | |
# The following output will be printed. | |
found 0 associations | |
found 1 connections: | |
1: flags=82<CONNECTED,PREFERRED> | |
outif en5 | |
src (host-machine-ip) port (random-port) | |
dst 192.168.1.230 port 9991 | |
rank info not available | |
TCP aux info available | |
Connection to 192.168.1.230 port 9991 [tcp/osm-oev] succeeded! | |
# (Unexpected Case) | |
nc: connectx to 192.168.1.230 port 9991 (tcp) failed: Connection refused | |
Even though the ports are opened, if the key is not downloaded via "ares-novacom" CLI command,
Please reset the TV.
Setting (Remote Controller) > All Settings > General > Reset to Initial Settings
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Windows netcat.
https://eternallybored.org/misc/netcat/