Page 2 of 3

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

Posted: Mon Mar 07, 2011 11:06 pm
by erdem_ua
Wow liked the image :)

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

Posted: Wed Mar 09, 2011 11:41 am
by jw1001
moras86 wrote: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
$socket = TCPListen($ip, $port)
produces error 10049: "Cannot assign requested address." Probably because it's not local to PC. Try 127.0.0.1

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

Posted: Wed Mar 09, 2011 12:48 pm
by juusso
You must declare variables:

Code: Select all

Global $IPaddr, $ip, $port, $start, $socket, $accepted
So the code works for me:

Code: Select all

Opt('MustDeclareVars', 1)

Global $IPaddr, $ip, $port, $start, $socket, $accepted


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

    $start = TCPStartup()
    $socket = TCPListen($ip, $port)

    While 1
		;TCPStartup()
        $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
I do not know what result should it give me, but i get pop up with text: "start = true, listen =-1, Accept=-1" . Is it what you need? I didn`t try it with sbav1 app, so i just checked if au3 runs without errors or not.

Check DVB-T signal strength via LAN - Desktop app

Posted: Wed Mar 09, 2011 2:15 pm
by moras86
Find one error:

Code: Select all

$port = "2346"
@jjw1001 for me need to be 192.168.1.10 and always port 2346 (work when use PuTTy and RAW connection).

@juuso this same for me. First MsgBox is only for check connection with TV. If TCPListen() or TCPAccept() return -1 there is no connection.
There should be all good and then app show next MsgBox with text reads from TV (something like " 78 0 ").

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

Posted: Thu Mar 10, 2011 12:43 pm
by jw1001
With local loopback or the address assigned to my PC LAN card, I get

Start: True
Listen: 440 (or some other value)
Accept: -1

[App] Signal checker for DVB-T (v0.1)

Posted: Tue Dec 06, 2011 10:19 am
by moras86
It's take some time, but now I back to this topic with working desktop app :D

Signal checker for DVB-T

Download
(include AutoIt source)

Instruction:
  • download Content Library app Signal Strength & Remote and run it on TV
  • download this desktop app and set IP of your TV in config.ini file
  • run this app ;)
Image

There is problem with checking quality, but this is TV app question. :cry:


Cheers

[App] Signal checker for DVB-T (v0.2)

Posted: Sun Dec 11, 2011 12:16 am
by moras86
First update for app.

Signal checker for DVB-T v0.2

Download
(include AutoIt source)

Image
Changes:
  • check signal now possible also manual way (default)
  • add context menu
  • add about dialog
  • add Configuration Window
  • change frequency option unit to second
  • add option to allow hide quality bar
  • add some tooltips
  • some small GUI & app improvements
  • small clean-up source code
Cheers

Re: [App] Signal checker for DVB-T (v0.2)

Posted: Sun Dec 11, 2011 7:50 pm
by geo650
moras86 wrote:...Signal checker for DVB-T v0.2...
An idea for developers: JAVA client application for mobile phones for all people walking on their roofs. ;)
Cheers!

[App] Signal checker for DVB-T (v0.3)

Posted: Tue Jan 31, 2012 7:03 pm
by moras86
More than 5000 download of previous version and any comments here. :(
Anyway new version available.

Signal checker for DVB-T v0.3

Download
(include AutoIt source and TV app)

Image
Changes:
  • add optional buttons for switch between 3 MUX-es
  • add buttons for change channels up/down and PRE-CH
  • text-to-speech for read current signal value (need at least WinXP) :!:
  • beep function as represent for signal strenght parameter
  • show maximum and minimum signal strenght with time (as tooltip) :!:
  • add top main menu (with option to hide it)
  • allow to disable progress-bar animation (Windows 7 and maybe Vista)
  • add protection for save bad values (non-numeric or out of scale) from inputbox
  • add menu for donation
  • small reduce exe file size
  • add more descriptions to exe file
  • many other small changes in GUI and code
  • update AutoIt version to 3.3.8.0
  • include integrated udf's for easy compilation
PS: Text-to-speech and beep functions are default disabled. Please check Configuration dialog and set it if your like. ;)


Thanks to geo650 for help with testing and suggestions.

Cheers

Re: [App] Check DVB-T signal strength via LAN

Posted: Sun May 18, 2014 12:00 pm
by barrypat
Hello

This looks like a great tool for use to adjust the satellite dish.
Please could you tell me if this works on Samsung D series.
I have installed the application on my PC, but now need to install the code in the TV. My TV has the SamyGo app installed, and I can FTP to port 23.

If this Signal strength application works on the D series, please can you explain what I need to do to get the TV code installed.
Many thanks and kind regards
Barry Paterson