[App] Check DVB-T signal strength via LAN

Ideas and dreaming will go this forum

User avatar
moras86
Official SamyGO Developer
Posts: 179
Joined: Sun Feb 21, 2010 3:18 pm
Location: Poland
Contact:

[App] Check DVB-T signal strength via LAN

Post by moras86 » Thu Jun 24, 2010 12:18 pm

I'm interested is it possible to get actual information about digital TV signal strength/quality from my Samsung HDTV.
[s]Maybe it will be possible using 'special' telnet command; or sending to TV keycode (10 sec pressing INFO button) for show window with signal information and take screenshot (can be check via FTP).[/s]

edit:
Application for check signal via LAN/WAN available - http://forum.samygo.tv/viewtopic.php?f= ... =10#p23595
Latest info also at Wiki:
Last edited by moras86 on Tue Jan 31, 2012 5:48 pm, edited 1 time in total.
Reason: add info about working app
Image . Image
TV LCD: Samsung LE40B651T3W (CI) | Internet@TV | fw: 2005 (patched: SamyGO v0.24 + GMT2, ArFIX2, ADFIX) | matrix: SQ04
BluRay: Samsung BD-D5300-ZF | SamsungApps | fw: 1013
Android-Box: Zidoo X8 | Realtek RTD1295 64bit (QuadCore), Mali-T820 GPU, 2 GB RAM, HDMI IN record, Android 6.0 | ZDMC 17.1
my projects: Remote LAN Control - Desktop app (v0.8) | Signal checker for DVB-T (v0.3)

User avatar
erdem_ua
SamyGO Admin
Posts: 3097
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Check DVB-T signal strength via LAN. Possible?

Post by erdem_ua » Fri Jun 25, 2010 3:59 pm

Possible but require some work...

User avatar
moras86
Official SamyGO Developer
Posts: 179
Joined: Sun Feb 21, 2010 3:18 pm
Location: Poland
Contact:

Re: Check DVB-T signal strength via LAN. Possible?

Post by moras86 » Mon Feb 14, 2011 1:08 pm

I back o this topic, because I got different and strange problems with my DVB-T programs. I need to modifying some stuff at my antenna what is on roof and will be grate if someone find fast and easy solution to real-time check signal using WLAN device (eg. Android smartphone).

For now I find two temporary solution:

1. Need PC with webcam and Android phone + WiFi
On TV start Remote LAN Control app.
On android use Remote Desktop app (PocketCloud) and show PC desktop.
Using this remote start on PC app for show picture from webcam (show my TV screen), next start my Remote LAN Control - Desktop app and click 'DVB-T signal' button.

But there is problem because I need manual refresh webcam preview picture :(

2. Need Android phone + WiFi
On TV start apps: Remote LAN Control & ScreenCap, FTP Server.
On android use app SamyGo Remote and click keys for go to Diagnostic/Signal check menu - Menu -> Up -> Enter -> Down -> Enter -> Up -> Enter. Next click keys for take TV picture screenshot - PRE_CH -> 9.
Next on android start app to enter TV via FTP (eg. ES File Explorer and go to ScreenCap files location for open last TV picture.

This method is so slowly (~ 1 minute). :evil:



There should be better method for check DVB-T signal - maybe function on TV core?
Image . Image
TV LCD: Samsung LE40B651T3W (CI) | Internet@TV | fw: 2005 (patched: SamyGO v0.24 + GMT2, ArFIX2, ADFIX) | matrix: SQ04
BluRay: Samsung BD-D5300-ZF | SamsungApps | fw: 1013
Android-Box: Zidoo X8 | Realtek RTD1295 64bit (QuadCore), Mali-T820 GPU, 2 GB RAM, HDMI IN record, Android 6.0 | ZDMC 17.1
my projects: Remote LAN Control - Desktop app (v0.8) | Signal checker for DVB-T (v0.3)

User avatar
decix
Posts: 95
Joined: Thu Dec 30, 2010 11:18 pm
Location: Germany

Re: Check DVB-T signal strength via LAN. Possible?

Post by decix » Mon Feb 14, 2011 7:46 pm

How about a second person that tells you the values via phone or walkie-talkie? ;)

sbav1
Official SamyGO Developer
Posts: 374
Joined: Fri Jan 15, 2010 10:20 am

Re: Check DVB-T signal strength via LAN. Possible?

Post by sbav1 » Sun Feb 20, 2011 5:34 pm

Signal strength can be checked on serial console with TOP Debug Menu -> 12 : SubSystem DBG -> Input Main[0]/PIP[1] : 0 -> 10 : GetSignalStrength.
In case you are still interested, this function call should be (probably; not tested) relatively easily to perform; from what I see, debug menu option is simply calling
SsFrontEndBase::GetSignalStrengthSsFrontEnd() method on an object from the SsObject::m_poObjectList table (i.e ~10 lines of C code required to call this function from content library application context).

BTW, for non-TV inputs/sources (HDMI, SCART, ...) this function returns 0 ("no signal" case ) or 100 ("valid, locked signal on external input / TV in media player mode / TV in content library mode" cases); may be useful for implementing screen saver application (eg.: to shut down TV automatically in case there is no signal on HDMI input detected for a given amount of time, etc).

User avatar
moras86
Official SamyGO Developer
Posts: 179
Joined: Sun Feb 21, 2010 3:18 pm
Location: Poland
Contact:

Re: Check DVB-T signal strength via LAN. Possible?

Post by moras86 » Sun Feb 20, 2011 6:05 pm

Thanks sbav
Still can't fix problem with my antenna because weather is too bad. It will be nice have Content Library apps what can show all time OSD with signal straight infos. Also if information will be send to text file there will be possible to create PC/android app what show signal straight/quality bars via WLAN.
Image . Image
TV LCD: Samsung LE40B651T3W (CI) | Internet@TV | fw: 2005 (patched: SamyGO v0.24 + GMT2, ArFIX2, ADFIX) | matrix: SQ04
BluRay: Samsung BD-D5300-ZF | SamsungApps | fw: 1013
Android-Box: Zidoo X8 | Realtek RTD1295 64bit (QuadCore), Mali-T820 GPU, 2 GB RAM, HDMI IN record, Android 6.0 | ZDMC 17.1
my projects: Remote LAN Control - Desktop app (v0.8) | Signal checker for DVB-T (v0.3)

User avatar
juusso
SamyGO Moderator
Posts: 9758
Joined: Sun Mar 07, 2010 6:20 pm

Re: Check DVB-T signal strength via LAN. Possible?

Post by juusso » Sun Feb 20, 2011 7:25 pm

Moras. Here is possible to get exeDSP output over netcat to LAN and have TOP debug menu fully functional over lan. So sbav1 solution for you might be really usefull.
To do that you need:
1. edit your rootfs (or use netcat from custom busybox)
2. have busybox with script applet
3. custom rc.local on mtd_exe (edit exe.img)

I write more detailed howto later. Check PM, you get working modified files for LExxB650 T-CHL7DEUC
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

sbav1
Official SamyGO Developer
Posts: 374
Joined: Fri Jan 15, 2010 10:20 am

Re: Check DVB-T signal strength via LAN. Possible?

Post by sbav1 » Mon Feb 21, 2011 12:43 am

Quick & dirty code for signal strength checking below (modified doodlecz Remote LAN Control app). Usage:

1) An extra thread listening on 2346 port; to check signal strength / quality remotely with netcat:

Code: Select all

root@fs-nbk:~# nc 192.168.1.240 2346
100 0
root@fs-nbk:~#
2) OR : send "AD" keycode to 2345 port, current signal strength & quality will be written into /mtd_ram/SignalStrength.txt file.

Link: <http://rapidshare.com/files/449025193/R ... 210211.tgz>
I'm not sure it works properly for "quality" parameter ("strength" should be fine), can't test it - no DVB broadcasting in my location :).

User avatar
moras86
Official SamyGO Developer
Posts: 179
Joined: Sun Feb 21, 2010 3:18 pm
Location: Poland
Contact:

Re: Check DVB-T signal strength via LAN. Possible?

Post by moras86 » Mon Feb 21, 2011 3:59 pm

Thanks guys
@juuso you method is to hard for me (don't play with firmware)
@sbav1 nice app. Tray telnet method and show true DVB-T signal values.

When find time I will create desktop app what will take this values for TV.

Once more thanks for help ;)


edit:

Check once more sbav app and Signal strength show good values but quality errors show always 0 :cry:
Image . Image
TV LCD: Samsung LE40B651T3W (CI) | Internet@TV | fw: 2005 (patched: SamyGO v0.24 + GMT2, ArFIX2, ADFIX) | matrix: SQ04
BluRay: Samsung BD-D5300-ZF | SamsungApps | fw: 1013
Android-Box: Zidoo X8 | Realtek RTD1295 64bit (QuadCore), Mali-T820 GPU, 2 GB RAM, HDMI IN record, Android 6.0 | ZDMC 17.1
my projects: Remote LAN Control - Desktop app (v0.8) | Signal checker for DVB-T (v0.3)

User avatar
moras86
Official SamyGO Developer
Posts: 179
Joined: Sun Feb 21, 2010 3:18 pm
Location: Poland
Contact:

Re: Check DVB-T signal strength via LAN. Possible?

Post by moras86 » Mon Mar 07, 2011 9:08 pm

Tray make desktop app using AutoIt but got problem with connection. Can someone look at this simple code:

Code: Select all

$ip = "192.168.1.10"
$port = "2356"

$start = TCPStartup()
$socket = TCPListen($ip, $port)
While 1
    $accepted = TCPAccept($socket)
	sleep(500)
	If MsgBox(1, "TCP tests", "Start: " & $start & @CRLF & "Listen: " & $socket & @CRLF & "Accept: " & $accepted) = 2 Then
		Exit
	EndIf
	If $accepted <> -1 Then
		$recv = TCPRecv($accepted, 5000)
		If $recv <> "" Then MsgBox(4096, "recv", $recv)
	EndIf
WEnd

func onautoitexit()
	TCPclosesocket($accepted)
	TCPshutdown()
endfunc
Also create image for Content Library app make by sbav1.
Image



PS: At least I fix problem with my antenna 8-)
Image . Image
TV LCD: Samsung LE40B651T3W (CI) | Internet@TV | fw: 2005 (patched: SamyGO v0.24 + GMT2, ArFIX2, ADFIX) | matrix: SQ04
BluRay: Samsung BD-D5300-ZF | SamsungApps | fw: 1013
Android-Box: Zidoo X8 | Realtek RTD1295 64bit (QuadCore), Mali-T820 GPU, 2 GB RAM, HDMI IN record, Android 6.0 | ZDMC 17.1
my projects: Remote LAN Control - Desktop app (v0.8) | Signal checker for DVB-T (v0.3)

Post Reply

Return to “[B] Brainstorm”