Remote Rig

RRC 1258 Support in English => General discussion forum => Topic started by: Chris DL5NAM on 2011-01-04, 11:58:21

Title: Status page
Post by: Chris DL5NAM on 2011-01-04, 11:58:21
Please, can you add on Status page what Profile is in use like:

     Active profile: DL5NAM

I things it's helpful and should be a detail/part of status page. Yes, if i clic on Profile page i can see what profile is in use.

May be, if no space left in memory, delete: Control panel   ON
It's, i think, a useless info. Maybe i am wrong but i dont know at what condition it will show OFF.

73 Chris
Title: Re: Status page
Post by: Jan (Microbit) on 2011-01-04, 14:19:32
(http://www.remoterig.com/picturepaster/493868bceeeb4bc9a49adb568e7cbb55.jpg)

About "Control panel  ON": Have you been using all the different modes of the RRC? I am asking because it makes sense in some of them, but not all, so I wouldn't call it "generally useless", maybe "partially useless"  ;)
Title: Re: Status page
Post by: Chris DL5NAM on 2011-01-06, 09:39:30
Jan, thanks for adding this in new version 2.32

Another small hint. Maybe a page from early HTML days ;D

http://192.168.0.228/latestDynDNSMsg

73 Chris
Title: Re: Status page
Post by: Jan (Microbit) on 2011-01-06, 10:07:19
Another small hint. Maybe a page from early HTML days ;D

http://192.168.0.228/latestDynDNSMsg

73 Chris
What do you mean? What is the problem? The code you see on that page is intentionally looking that way as it is showing the "raw" reply from the DynDNS system.
Title: Re: Status page
Post by: Chris DL5NAM on 2011-01-06, 14:37:02
If you clic on Statuts page - 3th last row: DynDns status OK
on status you will get:

HTTP/1.1 200 OK
Content-Type: text/html
Server: DynDNS-CheckIP/1.0
Connection: close
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 104

<html><head><title>Current IP Check</title></head><body>Current IP Address: 188.110.6.70


Page use wrong HTML code and Syntax !


<html>

<head>

<link rel="stylesheet" type="text/css" href="main.css">

</head>

<body>

<pre>

HTTP/1.1 200 OK

Content-Type: text/html

Server: DynDNS-CheckIP/1.0

Connection: close

Cache-Control: no-cache

Pragma: no-cache

Content-Length: 104



&#60;html&#62;&#60;head&#62;&#60;title&#62;Current IP Check&#60;/title&#62;&#60;/head&#62;&#60;body&#62;Current IP Address: 188.110.6.70</pre>

</body>

</html>



regards Chris
Title: Re: Status page
Post by: Jan (Microbit) on 2011-01-06, 17:04:04
It still looks exactly as it should to me. We seem to talk about different things here somehow... What is it you mean is wrong with the code and syntax?

Here is an explanation of the code:

This part is generated by the RRC:

<html>
<head>
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<pre>

I admit that it isn't 100% correct in that there is no document type specified, and also that the head part should contain a <title>blabla</title> tag too. But those are minor errors which shouldn't cause any problem.

This part:

HTTP/1.1 200 OK
Content-Type: text/html
Server: DynDNS-CheckIP/1.0
Connection: close
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 104
&#60;html&#62;&#60;head&#62;&#60;title&#62;Current IP Check&#60;/title&#62;&#60;/head&#62;&#60;body&#62;Current IP Address: 188.110.6.70

is what I called the "raw DynDNS reply", i.e the data exactly as the DynDYN system sends it, BUT with the necessary HTML entities <> etc correctly encoded so that they show on the page as <> etc instead of being interpreted as HTML code/tags by the browser.

The last part:

</pre>
</body>
</html>

is also generated by the RRC and ends the page tags.

All in all, what you see is a HTML page showing the raw content of another HTML page with its HTTP header(as DynDNS's replies are HTML code)