Re: [Discuss-gnuradio] log4cpp library not found

2017-04-01 Thread U L
On opensuse tumbleweed I needed to install the log4cpp-devel package. The FindLog4cpp.cmake file looks for Category.hh and liblog4cpp.so. The log4cpp-devel has the files /usr/include/log4cpp/Category.hh /usr/lib64/liblog4cpp.so /usr/lib64/pkgconfig/log4cpp.pc Unfortunately it appears that the

Re: [Discuss-gnuradio] QT GUI Waterfall Sink: frequency mismatch

2017-04-01 Thread Ellie White
Thank you very much for the helpful suggestions; my setup is working very nicely now! I changed the sample rate to 2MS/s, and the bandwidth to samp_rate instead of bw as you suggested, and tested it again with the function generator at 20 kHz. This time, the frequencies match exactly where they

Re: [Discuss-gnuradio] log4cpp library not found

2017-04-01 Thread li...@lazygranch.com
find / -name "FindLog4cpp.cmake" /usr/local/src/gnuradio/cmake/Modules/FindLog4cpp.cmake /usr/local/lib/cmake/gnuradio/FindLog4cpp.cmake That file is found twice. Is that the problem? If not, which do I replace? Or perhaps both. Or does one file cause the other file to be updated? On Sat, 1

Re: [Discuss-gnuradio] [GSoC] GNU Radio Companion Extensions: Output C++ Code

2017-04-01 Thread Håkon Vågsether
Hi Sebastian, awesome! :) I've had a look at your code, it looks like a sensible way to start tackling this feature. About the parameter values, thanks for bringing that up! It sure does complicate things, but from what I can see your suggestion sounds like a good plan. Best regards, Håkon

Re: [Discuss-gnuradio] gr-ieee802_11 receiver

2017-04-01 Thread serefay
Hi , I am sorry I have send on nabble and did not know that willl add only as thumbnails. I can send grc flow graph but i have changed the original codes so without those cpp files will it work. I dont know but I can send the whole project. I can also send whole files if have time to check it. I

Re: [Discuss-gnuradio] gr-ieee802_11 receiver

2017-04-01 Thread Cinaed Simson
On 04/01/2017 08:41 AM, serefay wrote: > Hi Marcus, > > thank your very much for your reply . In Pictures attached there are my > receiver and transmitter. So with HackRf I have received some wifi packets. > And in my transmitter I read the Pcap file which contains those wifi packets > that I

Re: [Discuss-gnuradio] File sink question

2017-04-01 Thread Marcus Müller
Hi Ellie, absolutely was a pleasure, and not at all requiring any patience! I don't know if I already did that, but maybe Michael Ossmann's DSP/SDR tutorials are something for you! You can find links to those and other resources on our wiki, https://wiki.gnuradio.org/index.php/SuggestedReading

Re: [Discuss-gnuradio] log4cpp library not found

2017-04-01 Thread li...@lazygranch.com
Hyphen instead of underscore. pkg-config --libs log4cpp -L/usr/local/lib64 -llog4cpp So pkg-config finds the library. Note I got the same problem regarding not finding log4cpp when I used the opensuse package manager version instead of making my own in /usr/src. On Sat, 1 Apr 2017 11:19:14

Re: [Discuss-gnuradio] gr-ieee802_11 receiver

2017-04-01 Thread serefay
Hi Marcus, thank your very much for your reply . In Pictures attached there are my receiver and transmitter. So with HackRf I have received some wifi packets. And in my transmitter I read the Pcap file which contains those wifi packets that I received and sending them all to the transmitter to

[Discuss-gnuradio] Frame synchronization

2017-04-01 Thread Gabriel Pechiarovich
Dear all Are there any block available in GRC to sync byte frames? I want to transmit a fixed amount of bytes over the air and start the postprocessing at Rx, when the fixed frame is noticed. Thank you all Gabriel Pechiarovich ___ Discuss-gnuradio

Re: [Discuss-gnuradio] File sink question

2017-04-01 Thread Marcus Müller
No, f_sample is the sampling rate. Remember: every "frequency domain" 1024-vector you've stored corresponds to 1024 time samples (hence my longish explanation of what happens to samples). 1024 time-domain samples take exactly 1024 sampling periods T_sample to capture, and T = 1/f. Best regards,

Re: [Discuss-gnuradio] gr-ieee802_11 receiver

2017-04-01 Thread Marcus Müller
Hi Seref, Sorry, On 01.04.2017 12:59, serefay wrote: > receive samples and retransmit the same IQ samples wit Tx and save > them in file, but when I try to use that IQ samples from file to receive > them from file source I'm not quite sure I get the full idea of what exactly you're doing.

[Discuss-gnuradio] gr-ieee802_11 receiver

2017-04-01 Thread serefay
Dear all, I am using gr-ieee802_11 Transceiver to analyze wifi signals. I receive samples and retransmit the same IQ samples wit Tx and save them in file, but when I try to use that IQ samples from file to receive them from file source some packets are not received, even though they are

Re: [Discuss-gnuradio] log4cpp library not found

2017-04-01 Thread Marcus Müller
Hi, if you've built it yourself, chances are that automatic tools like CMake's find_package or the general pkg_config can't find it, because you didn't put the right files in the distro-typical places. Try running pkg_config --libs log4cpp If that fails: Please make sure the installation put

Re: [Discuss-gnuradio] log4cpp library not found

2017-04-01 Thread li...@lazygranch.com
I built it myself in usr local. The source exists at github and sourceforge. Apparently SF is the original. I built both versions and neither is found by gnuradio in the build process. The contents /usr/local/include/log4cpp is at this pastebin. https://pastebin.com/fw6NUR6x This is the after

Re: [Discuss-gnuradio] ASK Modulation

2017-04-01 Thread Marcus Müller
2-ASK is practically BPSK plus really bad DC offset (hey, that description is even an instruction on how to build a 2-ASK modulator) :) So, Muller (Müller? Muellerüller?) should work just as fine, if you cut out the DC component (HPF), shouldn't it? Cheers, Marcus On 04/01/2017 03:45 AM, Martin