Re: [Discuss-gnuradio] Overruns B200 802.11 receiver

2017-08-11 Thread Cristian Rodríguez
Hi. For me worked as follows: The reference page transport_udp_sockbufs . i modified the next two: - recv_frame_size: The size of a single receive buffer in bytes - num_recv_frames: The number of receive buffers to

[Discuss-gnuradio] Asynchronous Switch between two stream inputs to one output GNU Radio C++

2017-07-26 Thread Cristian Rodríguez
Hi all I have the next block: [image: Imágenes integradas 1] This block just receive signal for one of the two ports at the same time. In this way, for example if it receives in the IN0, in the IN1 there's nothing. Depending on the parameter Initial Standard I select which input must pass to the

Re: [Discuss-gnuradio] How does Rx Gain affect the incoming signal? GNURadio IEEE 802.11a/g/p

2017-07-06 Thread Cristian Rodríguez
> > From your table it looks like you are trying to change the RX gain in > steps smaller than the USRP supports. > > This document looks like a quick intro to power and voltage changes with > dB. > https://neurophysics.ucsd.edu/courses/physics_120/A% > 20Practical%20Guid

[Discuss-gnuradio] How does Rx Gain affect the incoming signal? GNURadio IEEE 802.11a/g/p

2017-07-05 Thread Cristian Rodríguez
Hi all. I'm trying to understand how Rx gain, the paremeter that is set in the USRP Source block, affects the input signal. I would like to have an equation for that. I'm doing the next experiment: - I take the input signal from the USRP Source block to a MAG^2 block. - From MAG^2 block to

Re: [Discuss-gnuradio] GRC GUI parameters for custom blocks

2017-07-02 Thread Cristian Rodríguez
https://wiki.gnuradio.org/index.php/Guided_Tutorial_Programming_Topics#5.3.2_Adding_Message_Passing_to_the_Code In general I have been a bit of time with GNURadio, but the best way to learn is to read the codes of the blocks. It apply specially in the callbacks. Best regards, Cristian > > Vipin > >

Re: [Discuss-gnuradio] GRC GUI parameters for custom blocks

2017-07-02 Thread Cristian Rodríguez
On Jul 1, 2017 2:18 PM, "Vipin Sharma" wrote: Hi, I have a custom block, say CustomBlock, which takes two arguments, arg0 and arg1. My intention is to have these arguments be configured through gui after the custom block is instantiated. I define entries for these arguments in the xml file for

[Discuss-gnuradio] Change value of a Variable defined in the flowgraph from a block

2017-06-30 Thread Cristian Rodríguez
Hi everyone. I created a variable in the flowgraph called freq_Tx. [image: Imágenes integradas 2] This is assigned as the central freq of the block USRP source and is used by several blocks to do signal processing. I need to listen two different frequencies in my application. For example one mi

[Discuss-gnuradio] Problem processing BLOB type in a new block for IEEE 802-11 transceiver

2017-06-30 Thread Cristian Rodríguez
Hi all. I'm trying to convert a variable from BLOB to String. I'm trying to do this. [image: Imágenes integradas 1] Before, the next block was instead of WiFi App. [image: Imágenes integradas 2] Message strobe sends a PMT message of STRING type (without car and cdr, just message_port_pub(pmt::

[Discuss-gnuradio] Problem with Convertion From BLOB to String in a PMT message C++

2017-06-29 Thread Cristian Rodríguez
Hi all. I'm trying to convert a variable from BLOB to String. I'm trying to do this. [image: Imágenes integradas 1] Before, the next block was instead of WiFi App. [image: Imágenes integradas 2] Message strobe sends a PMT message of STRING type (without car and cdr, just message_port_pub(pmt::

Re: [Discuss-gnuradio] Trouble Installing a new block in GNURAdio (gr-ieee-802-11) not .cc.o file generated

2017-06-29 Thread Cristian Rodríguez
one located in lib > directory). > thanks a lot for your message. Yes, as you indicated it was solved by including my file in both CMakeLists.txt, and, in the Swig list, because it was built in C++. Best regards, Cristian > > Regards, > Kyeong Su Shin > > On Thu, Jun 29,

[Discuss-gnuradio] PMT: Get a value associated to a specific key in a car of PMT message C++

2017-06-29 Thread Cristian Rodríguez
Hi all. I'm trying to get the car of a PMT message. And later in the car, the value associated to a specific key. I'm receiving it: (((dlt . 105) (freqofs . -0.00015152) (nomfreq . 5.89e+09) (snr . 144.985) (encoding . 0)) . #[1 2 3 4 5 6 7 8 9 0]) I want to get the car: ((dlt . 105) (freqofs

[Discuss-gnuradio] Trouble Installing a new block in GNURAdio (gr-ieee-802-11) not .cc.o file generated

2017-06-29 Thread Cristian Rodríguez
Hi all, I'm designing a block in C++. It has .c, .h and .xml files. I put them in the same folders than mac or decode_mac blocks are in. I installed all the blocks of ge-ieee-802-11 again, as follows, cd gr-ieee802-11 mkdir build cd build cmake .. make sudo make install sudo ldconfig but I dont

Re: [Discuss-gnuradio] Convert Float to PMT in a Gnuradio flowgraph

2017-06-29 Thread Cristian Rodríguez
nce. Best regards, Cristian > Best regards, > > Marcus > > On 28.06.2017 06:06, Cristian Rodríguez wrote: > > Hi all. > > I'm implementing this flowgraph. > > [image: Imágenes integradas 1] > > I want to calculate the power in the antenna, which is set as flo

[Discuss-gnuradio] Convert Float to PMT in a Gnuradio flowgraph

2017-06-27 Thread Cristian Rodríguez
Hi all. I'm implementing this flowgraph. [image: Imágenes integradas 1] I want to calculate the power in the antenna, which is set as float and later convert it to a PMT type. I don't know if it is possible. I tried to build the above flowgraph, My idea was to convert the float type to a tagged

Re: [Discuss-gnuradio] Read and Write a PMT input/output GNURadio C++

2017-06-27 Thread Cristian Rodríguez
nks a lot for your time. Best regards, Cristian On Jun 27, 2017 3:48 AM, "Marcus Müller" wrote: You're explicitly sending a pair (pmt::cons), not a real or integer number! On 27.06.2017 04:57, Cristian Rodríguez wrote: Hi. Thanks a lot for your time to read. I read the two link

Re: [Discuss-gnuradio] Read and Write a PMT input/output GNURadio C++

2017-06-26 Thread Cristian Rodríguez
;s canonical to have a PMT dict that maps > > pmt::mp("propertyname") -> pmt::whateversuitsyourproperty. > > As an example, see what the gr-uhd blocks accept [1] > > Best regards, > > Marcus > > [1] https://gnuradio.org/doc/doxygen/page_uhd.html#uhd_command_syntax &

[Discuss-gnuradio] Read and Write a PMT input/output GNURadio C++

2017-06-26 Thread Cristian Rodríguez
Hi all, I'm not sure about how to read and write PMT ports from and to local variables. I'm going to expose what i'm doing, and if someone can help me i would be very greatful. I've created an input and an output of PMT type. message_port_register_in(pmt::pmt_t in_threshold) message_port_registe

Re: [Discuss-gnuradio] Python and C++ codes of the blocks IEEE 802.11

2017-06-25 Thread Cristian Rodríguez
2017-06-25 5:23 GMT-05:00 Bastian Bloessl : > Hi Christian, > > > On 24. Jun 2017, at 22:50, Cristian Rodríguez < > cristian.rodriguez...@gmail.com> wrote: > > > > This parameter is no global, I mean, when I use the wifi_phy_hier.grc in > the transceiver

Re: [Discuss-gnuradio] Python and C++ codes of the blocks IEEE 802.11

2017-06-24 Thread Cristian Rodríguez
old (sensitivity) globally. [image: Imágenes integradas 2] Thanks a lot for your time Marcus. Best regards, Cristian. > Best regards, > > Marcus > > On 06/24/2017 11:17 PM, Cristian Rodríguez wrote: > > Hi all, > > I hope all is going well. > > I was trying to mo

[Discuss-gnuradio] Python and C++ codes of the blocks IEEE 802.11

2017-06-24 Thread Cristian Rodríguez
Hi all, I hope all is going well. I was trying to modify the code of some blocks, where is usually the code of an specific block or flowgraph? Specifically, I want to modify the number of inputs in the wifi_phy_hier.grc, and put the variable Sensitivity as global, I mean, that i can modify it wh

Re: [Discuss-gnuradio] Kernel Ubuntu - USB 3.0 trouble - missed packets

2017-05-27 Thread Cristian Rodríguez
? Could it be my driver trouble? If you type *lsusb *what do you get? Again, thanks a lot. Best regards, Cristian 2017-05-28 1:30 GMT-05:00 Cristian Rodríguez < cristian.rodriguez...@gmail.com>: > Hi Marcus. > > Thanks a lot for your answer. > > Could you please run the i

Re: [Discuss-gnuradio] Kernel Ubuntu - USB 3.0 trouble - missed packets

2017-05-27 Thread Cristian Rodríguez
t;performance" mode (or just disable frequency scaling > alltogether) for a test? > > Best regards, > > Marcus > > I'll comment that using num_recv_frames has sometimes been necessary for > my apps, usually set to 256 or 512, and once I do that, I don't get >

Re: [Discuss-gnuradio] IEEE802.11 transceiver - problems sending data

2017-05-26 Thread Cristian Rodríguez
connection with `nmcli`. I'm not quite >> sure this is best solved on the discuss-gnuradio mailing list – we're not >> really linux networking setup experts :) >> >> Best regards, >> >> Marcus >> >> >> On 05/26/2017 07:18 AM, C

Re: [Discuss-gnuradio] IEEE802.11 transceiver - problems sending data

2017-05-25 Thread Cristian Rodríguez
2017-05-19 7:04 GMT-05:00 Bastian Bloessl : > Hi, > > > On 19. May 2017, at 12:09, Cristian Rodríguez < > cristian.rodriguez...@gmail.com> wrote: > > > > You will have to also add the corresponding entry in reverse direction. > It’s not in the script since I

[Discuss-gnuradio] Fwd: IEEE802.11 transceiver - problems sending data

2017-05-25 Thread Cristian Rodríguez
2017-05-19 7:04 GMT-05:00 Bastian Bloessl : > Hi, > > > On 19. May 2017, at 12:09, Cristian Rodríguez < > cristian.rodriguez...@gmail.com> wrote: > > > > You will have to also add the corresponding entry in reverse direction. > It’s not in the script since I

Re: [Discuss-gnuradio] IEEE802.11 transceiver - problems sending data

2017-05-19 Thread Cristian Rodríguez
e or send anything.. Thanks a lot for your help. Best regards, Cristian > > > > > > On 16. May 2017, at 16:57, Cristian Rodríguez < > cristian.rodriguez...@gmail.com> wrote: > > > > Hi all. > > > > I'm trying to run the file nic.sh (app

Re: [Discuss-gnuradio] Kernel Ubuntu - USB 3.0 trouble - missed packets

2017-05-18 Thread Cristian Rodríguez
") printed on the console? > > Did you increase the socket buffer sizes? > > https://files.ettus.com/manual/page_transport.html#transport_udp_sockbufs > > --​Neel Pandeya > > > > On 15 May 2017 at 17:20, Cristian Rodríguez com> wrote: > >> HI all. >&g

Re: [Discuss-gnuradio] The low performance of gr-ieee-802.11 running on b210 ????

2017-05-16 Thread Cristian Rodríguez
ckets yet. Then i would prefeer trying to solve the thing with my computer. Thanks in advance for your time to read it. Best regards, Cristian > Best regards. > > Siyu Zhan > > 2017-05-16 22:16 GMT+08:00 Cristian Rodríguez < > cristian.rodriguez...@gmail.com>: > >&

Re: [Discuss-gnuradio] gr_ieee-80211 receiver

2017-05-16 Thread Cristian Rodríguez
Hi. Did you check the name of the wireshark file is the same in the flowgraph and in the temp file (if you are using the .sh file into the app folder)? Best regards, Cristian 2017-05-09 4:26 GMT-05:00 Bastian Bloessl : > > > On 9. May 2017, at 08:26, LiLi wrote: > > > > If we want to capture

Re: [Discuss-gnuradio] The low performance of gr-ieee-802.11 running on b210 ????

2017-05-16 Thread Cristian Rodríguez
Hi all. I was reading about your implementation Siyu and i am trying to do the same (ieee802.11 over USRP B210 - intel i7) but i haven't been able to. Could you indicate me what you did. It would help me a lot. I had overruns and i solved it by changing the transport parameters. I have the transc

[Discuss-gnuradio] Kernel Ubuntu - USB 3.0 trouble - missed packets

2017-05-15 Thread Cristian Rodríguez
HI all. I was writing to the forum a time ago because i have missed packets when i build a simple flow graph in gnu radio and set the sample rate over 20Msamples/s. The conclusion was that i had to review my USB 3.0 drivers but i'm working on ubuntu (16.05) and the only way to change the drivers

[Discuss-gnuradio] Getting "0"s (overflow) in the output when probing a null sink

2017-04-30 Thread Cristian Rodríguez
Hi all, I'm doing a simple flowgraph so i can check if i am able to get enough samples to work with gr-ieee_802.11. It is the flowgraph i set. [image: Imágenes integradas 1] Sample rate=50MHz → Several 0s, i think, a 0 each 5 seconds. Sample rate=20MHz → a few of 0s, i think, a 0 each 30 sec

[Discuss-gnuradio] Implementing IEEE 802.11 a/g/p Transceiver module

2017-03-22 Thread Cristian Rodríguez
Hi. I'm implementing the transceiver of Bastian following the instructions in github. When i use nic.sh (as it is indicated in the youtube video https://www.youtube.com/watch?v=tAVgsJLM-sc) i should receive it. [image: Imágenes integradas 1] But instead, i'm receiving:

Re: [Discuss-gnuradio] Transceiver gr-ieee802.11

2017-03-22 Thread Cristian Rodríguez
> of GNU Radio. > > Ron > On 03/22/2017 10:42 AM, Cristian Rodríguez wrote: > > Thanks for your answer Marcus. > > Is there a command so i can know if the gnuradio flow graph is executing > VOLK? > > Regards, > > Cristian > > 2017-03-22 12:32 GMT-05

Re: [Discuss-gnuradio] Transceiver gr-ieee802.11

2017-03-22 Thread Cristian Rodríguez
't even have most of the GNU Radio blocks you use. So you very, > very likely have VOLK. Your problem lies somewhere else. > > Best regards, > > Marcus > > On 03/22/2017 06:27 PM, Cristian Rodríguez wrote: > > Hi everybody. > > I'm trying to implement the Tran

[Discuss-gnuradio] Transceiver gr-ieee802.11

2017-03-22 Thread Cristian Rodríguez
Hi everybody. I'm trying to implement the Transceiver gr-ieee802.11 of Bastian. I'm following the instructions in github, and this video in youtube. https://www.youtube.com/watch?v=tAVgsJLM-sc In the begining of the simulation should be appear "Using volk machine" like in the video, because this