Languages

Menu
Sites
Language
How to connect into smart tv (M5500 series) using SDB?

Hi,

I have issue connecting SDB into my smart tv (M5500 series). I have enable the "Developer Mode" on my smart tv but have an issue on setting up Host PC IP, everytime I set my PC IP into Host PC IP, the fields turn to blank when I re-open the Developer Mode selection window (I don't know if this normal that the Host PC IP fields reset everytime the dialog re-opened).

The next issue is that when I do SDB CONNECT <my_tv_ip>, the connection failed, when I try to ping my tv IP it return Destination Unreachable, but if I ping from router to my tv IP, it return fine. At first I tought that my development PC has connection issue, but when I ping my S8 phone, my PC ping work fine. Both device it seem doesn't have connection issue, both in same network, my tv can connect to internet (I can use it watch Google Play Movie) and my PC also connected to internet, but it seem both device (my tv and my PC) can't communicate each other.

Right now I'm out of option on how to connect my smart tv so I can do live debugging my apps.

Responses

5 Replies
Armaan-Ul- Islam

First of all, To Ensure Connectivity try a Ping from you CommandPrompt/Terminal

Like: ping  192.168.43.228

If it's Unreacable, then the problem is with Connectivity.

 

If not, The reason could be following I guess:

 

'Tizen Version' details for TV Models is given on this Link:

http://developer.samsung.com/tv/develop/specifications/tv-model-groups

 

According to the List M5500 is a 2017 model Smart TV running on TV Extension 3.X. There's a Note on Samsung Developers: Smart TV section saying:

Tizen Studio 2.0 supports TV Extension 4.0 or higher.

http://developer.samsung.com/tv/develop/tools/tizen-studio

Are you Using sdb on Tizen-Studio 2.0? If yes, It won't allow you to connect the TV running on Tizen 3.X.

 

You may download & Install Previous IDEs (For example: Tizen SDK 2.4 Rev8 or Tizen Studio 1.2 ) from IDE archive:

http://download.tizen.org/sdk/Installer/

 

To develop/debug Tizen 2.X and 3.X TV applications along with the Tizen-Studio IDE, you would need TV Extensions from Samsung developers Archive:

http://developer.samsung.com/tv/develop/tools/tv-extension/archive

Download the TV Extension for Tizen 3.X and Update from the zip package using Tizen-Studio >Tools > Package Manager > Config > Extra Repository > Add Downloaded archive, Then Install all the TV related Packages from Extension SDK Tab.

Ariston Darmayuda

Thanks for the reply, currently I'm intalling Tizen 4 SDK that I download from Tizen site since that's installer that I've found. I'll try to download the older version for my TV.

But for PING, that's the main issue. My TV use fixed IP address that lease infinite from my router DHCP server, the IP is 192.168.1.7. My working PC are same too, the IP is 192.168.1.8, and my phone also on same network use IP 192.168.1.9. Now, the problem, I can ping my TV (192.168.1.7) from my router (192.168.1.1) and doesn't have issue. But when I ping from my PC (192.168.1.8) to my TV, it return Destination Unreachable. At first I thought my PC firewall that block ping to other device, but when I use my PC to ping my phone (192.168.1.9), it doesn't have any issue. I'm also use PING tools on my phone, when I ping my PC, it work fine, but when I ping my TV it's same result as my PC (Destination Unreachable). It's seem that my TV only permit access from known IP, since my router is also my gateway on my TV (192.168.1.1). Is this related to Host PC IP setup? Because there's issue for this too, I'ved enable the Developer Mode but everytime I want to save the Host PC IP, the IP get erased everytime I re-open the developer options window. 

Ariston Darmayuda

Ignore my last reply, I've found the issue, I think it's my router network isolation. My TV was connected using LAN onto same router as my wifi, while PC is on wifi connection, because of different kind of connection (LAN and Wifi), the wifi devices (my PC) cannot discover my LAN devices (which my TV connected). After I switch my TV from LAN into Wifi, I can discover and ping my TV.

GEUNSOO KIM

You should register you dev PC's IP address to your TV.

To do that, follow these steps.

1. On your TV, go to "Apps".

2. pres "12345" on your remote control. if you did correctly, it will show a pop-up.

3. on the pop-up, set "Development mode" as "On"

4. then enter you Dev. PC's IP address on "Host PC IP"

5. press "OK" on the pop-up

6. then an "Information" pop-up will guide you that the setting will work after power off and on the TV and how to turn off the TV with remote control. follow the instruction.

7. after turn on TV again, goto "Apps" again. you can see a red text written as "Developer Mode" on top of the screen. then you can connect using sdb from your PC.

good luck.

 

 

Armaan-Ul- Islam

Thanks GEUNSOO KIM,

Seems Ariston Darmayuda already resolved the Issue.

If I'm right, the problem was with his router. The router is considering LAN and wifi as two different sets of network, that's why PC wasn't discovering the TV previously.