Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buildin Server not comming up #320

Open
werwaswarum opened this issue Mar 20, 2024 · 15 comments
Open

Buildin Server not comming up #320

werwaswarum opened this issue Mar 20, 2024 · 15 comments

Comments

@werwaswarum
Copy link

Hi,
I would like to receive some TPEG and IP data over DAB.
As far as I understood the doc, it should be possible to get these data on an IP port.
Therefore, I build my own version under Fedora 39 in the qt-dab-RC folder, where I activate booth or just one functionality in the .pro file. Unfortunately, no server came up, and no port is open.

Furthermore, I realized that no map server is coming up for me either. Beside my own build, I tested the AppImage on the Fedora system as well as the Windows release version under Windows 10.

In any case, the HTTP button in the main widget stayed without function.

I would appreciate a point to what I miss starting the server.

Best regards,
werwaswarum

@werwaswarum werwaswarum changed the title Buidl in Server not comming up Buildin Server not comming up Mar 20, 2024
@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Mar 21, 2024 via email

@werwaswarum
Copy link
Author

Hi Jan,

Thank you for your help, although my issue was very confused.
My idea was to have a look into datatransport in DAB. I found out that in Germany now Correction for GNSS are transmitted at Channel 5C PPP-RTK-AvD. So I started to take a look at your awesome software, and as no server for the datagrams came up, I tried TPEG with the same result and then I was trz to activate the map.

With the included TPEG client I see now data on the TPEG channels and can receive data on the socket, nice!
I attched some .eti filed for channel 5C and 10B in northern Germany which include TPEG data. May I suggest to move the decoding into another Issue?

In the next step I would like to activate the datagrams, as far as I understood the docs I need to change the .pro file to
#CONFIG += datastreamer
#to handle output of embedded an IP data stream, uncomment
CONFIG += send_datagram

Unfortunately no port show up.
Best,
Lars

Qt-DAB-DR Deutschland -5C-Do--März-21-16-58-43-2024.zip
Qt-DAB-NDR HH -10A-Do--März-21-17-02-06-2024.zip

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Mar 21, 2024 via email

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Mar 21, 2024 via email

@werwaswarum
Copy link
Author

Hi Jan,

Thank you again for your support.
I want to test if PPP-RTK-AvD contains ip data, as there is a leak of documentation.
Never the less it is fascinating to me how much information are available on DAB.

I thought there is a huge interest in data services, especially in Germany, where cellular networks are not available everywhere.
Find attach some raw measurements: https://www.transfernow.net/dl/20240321WEasy1TQ

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Mar 23, 2024 via email

@werwaswarum
Copy link
Author

Hi Jan,

Would it be possible to test my build with these data?
When the server then appears, I am sure that I set the right config in the make files.
Another question that appears to me is how the console prints an App type, e.g., 1200, but I cannot find any information about the App types.

Looking forward to seeing where we can go on.

Best,
Lars

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Mar 24, 2024 via email

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Mar 24, 2024 via email

@werwaswarum
Copy link
Author

Hi Jan,
I playing around with TPEG reception in this minute :)
With respect to the TPEG channels:
There should be three TPEG channels TPEG. TPEG_MM in 5C and and TPEG ARD on 10A.

I could decode Version 1 from time to time by using the OpenLR python version: https://openlr-python.readthedocs.io/en/latest/index.html

My code:

import socket
import sys
import openlr
import base64

 HOST ="127.0.0.1"   # The remote host
 PORT = 8888             # The same port as used by the server

while(True):
    print(f"Run")
    try:
        with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
            s.connect((HOST, PORT))
            data = s.recv(2048*32)

        test= base64.b64encode(data)
        print(openlr.binary_decode(test, is_base64=True))

    except NotImplementedError:
        print(f"Version Error")
    
    except ValueError:
        print(f"ValueError: Location type cannot be identified")

So I believe they are not encripted :) Also for TPEG ARD I found a questioner to the Athoreties where it is writen that they transmit unencripted Datex2-LR data.

With respect to the PPP-RTK-AdV:

Thank you here is the report from the ESA project that implemnted the service: https://navisp.esa.int/project/details/185/show.

Maybe we should split the issue?
Thank you again for your support.

Best,
Lars

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Mar 24, 2024 via email

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Mar 24, 2024 via email

@werwaswarum
Copy link
Author

Hi Jan,

That with the header made me curious!

I used python because it is easy to use for first tests, as I don't need to compile every time a change a buffer etc.
Sounds like a possible implementation, however the python implementation does not decode all messages, the full implementation is only available in java, see https://github.com/tomtom-international/openlr

I gutes it would be nice to be able to show the data on a map, here an example that uses QGIS:
https://github.com/FraunhoferIVI/openlr.git

In this way you/we don't need to implement all things new.

Let me know if I can support the development.

Best regards,
Lars

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Mar 25, 2024 via email

@werwaswarum
Copy link
Author

Hi Jan,
seems good to me. Do you also have an idea, how I can continue with the RTL-PPP-AvD channel?

Best Lars

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants