[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Transmit stream tags via socket
From: |
Ludwig Stephan (CR/AEH4) |
Subject: |
Re: [Discuss-gnuradio] Transmit stream tags via socket |
Date: |
Fri, 26 Jun 2015 09:12:55 +0000 |
Hello Marcus,
hello Kevin,
thank you for your hints. Meanwhile I also recognized pmt::serialize, which I
found awesome. And Marcus pointing to ZeroMQ was even better. I will try both
and report back.
Mit freundlichen Grüßen / Best regards
Stephan Ludwig
Robert Bosch GmbH
Corporate Sector Research & Advance Engineering, Communication Technology
(CR/AEH4)
Renningen
70465 Stuttgart
GERMANY
www.bosch.com
Tel. +49(711)811-8809
Fax +49(711)811-1052
Mobile +49(172)5630639
address@hidden
Registered Office: Stuttgart, Registration Court: Amtsgericht Stuttgart, HRB
14000;
Chairman of the Supervisory Board: Franz Fehrenbach; Managing Directors: Dr.
Volkmar Denner,
Dr. Stefan Asenkerschbaumer, Dr. Rolf Bulander, Dr. Stefan Hartung, Dr. Markus
Heyn, Dr. Dirk Hoheisel,
Christoph Kübel, Uwe Raschke, Dr. Werner Struth, Peter Tyroller
-----Ursprüngliche Nachricht-----
Von: address@hidden [mailto:address@hidden Im Auftrag von Marcus Müller
Gesendet: Freitag, 26. Juni 2015 10:11
An: address@hidden
Betreff: Re: [Discuss-gnuradio] Transmit stream tags via socket
Hi Stephan,
have a look at the ZeroMQ blocks (ZeroMQ, including the ZeroMQ C++ wrapper
header will need to be present at compilation time); The ZeroMQ sinks have the
option to pass along tags!
ZeroMQ is a world of its own; if you want a single point-to-point connection,
try the REP sink and the REQ source, with an address like tcp://<ip address of
your computer>:5555 in both.
If you want a publisher/multi-subscriber thing, have a look at the pub/sub
combination. There's examples, typically in /usr/share/gnuradio/examples/zeromq
Best regards,
Marcus
On 06/26/2015 07:20 AM, Ludwig Stephan (CR/AEH4) wrote:
> Hello list,
>
> I kindly ask for an idea how to transmit a pmt::cons via a tcp (or udp)
> connection? Alternatively I want to transmit tagged streams including the
> tags. In my special case, the tag in question is an integer, if that helps.
>
> I checked so far:
> * TCP Sink/Source uses file descriptor sink, which does not "save" tags
> * socket PDU, but this only takes the cdr part of the cons
>
> I could imagine that this is a bit tricky as writing tagged streams to files
> is tricky, either. Hence I am asking for suggestions, how to implement this.
>
> Best regards
>
> Stephan Ludwig
>
> Robert Bosch GmbH
> Corporate Sector Research & Advance Engineering, Communication
> Technology (CR/AEH4) Renningen
> 70465 Stuttgart
> GERMANY
> www.bosch.com
>
> Tel. +49(711)811-8809
> Fax +49(711)811-1052
> Mobile +49(172)5630639
> address@hidden
>
> Registered Office: Stuttgart, Registration Court: Amtsgericht
> Stuttgart, HRB 14000; Chairman of the Supervisory Board: Franz
> Fehrenbach; Managing Directors: Dr. Volkmar Denner, Dr. Stefan
> Asenkerschbaumer, Dr. Rolf Bulander, Dr. Stefan Hartung, Dr. Markus
> Heyn, Dr. Dirk Hoheisel, Christoph Kübel, Uwe Raschke, Dr. Werner
> Struth, Peter Tyroller
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio