BastilleResearch / gr-lora

GNU Radio OOT module implementing the LoRa PHY, based on https://github.com/matt-knight/research/tree/master/2016_05_20_jailbreak
GNU General Public License v3.0
472 stars 92 forks source link

tr_usrp.grc not transmitting via usrp #27

Open nilampradhan2 opened 6 years ago

nilampradhan2 commented 6 years ago

i tried to transmit LoRa signal by running tr_usrp using USRP B200, but nothing is transmitted. red light LED is OFF only.

matt-knight commented 6 years ago

Hi @nilampradhan2, two thoughts:

1) The flowgraph expects to be fed packets via the GNU Radio asynchronous message API. The easiest way to do this is to use a UDP socket, as I have instrumented in the examples. Run the flowgraph, connect to it via $ nc, type in some text, hit enter, and see what happens.

2) If this doesn't work, check your logs to ensure UHD isn't complaining.

Hope this helps, Matt

nilampradhan2 commented 6 years ago

Thank you Matt for quick response. Now it is working with Random socket PDU, but when i select socket PDU source and doing same procedure as you have mentioned, it unable to transmit. Red LED is OFF only. I will try it again.

Regards,

Nilam Pradhan Asst. Prof. E & TC Dept. MITCOE, Pune

On Fri, Feb 23, 2018 at 4:46 AM, matt-knight notifications@github.com wrote:

Hi @nilampradhan2 https://github.com/nilampradhan2, two thoughts:

1.

The flowgraph expects to be fed packets via the GNU Radio asynchronous message API. The easiest way to do this is to use a UDP socket, as I have instrumented in the examples. Run the flowgraph, connect to it via $ nc, type in some text, hit enter, and see what happens. 2.

If this doesn't work, check your logs to ensure UHD isn't complaining.

Hope this helps, Matt

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BastilleResearch/gr-lora/issues/27#issuecomment-367855814, or mute the thread https://github.com/notifications/unsubscribe-auth/AilqVDiMdVI5Am65Z073gvdk0hEGxtCiks5tXfU3gaJpZM4SJTR3 .

matt-knight commented 6 years ago

Sounds like it's a network configuration issue. Try UDP mode, and nc over localhost and the appropriate port.

nilampradhan2 commented 6 years ago

Thanks for reply. My transmitter is working with udp socket PDU. RED LED turns ON for few seconds. After sending over it shows letter U in log and receiver socket pdu don't receive anything. I give nc command and port address.

On 1 Mar 2018 12:12 am, "matt-knight" notifications@github.com wrote:

Sounds like it's a network configuration issue. Try UDP mode, and nc over localhost and the appropriate port.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BastilleResearch/gr-lora/issues/27#issuecomment-369340002, or mute the thread https://github.com/notifications/unsubscribe-auth/AilqVE16vRBj3gXY-3wD-Dx-TVwJva3fks5tZZ4igaJpZM4SJTR3 .

brunoricardojava commented 6 years ago

@nilampradhan2 could you tell which modifications made it work? I'm using a USRP N210 and not working.

nilampradhan2 commented 6 years ago

I set parameters as frequency 868Mhz, code rate 4, sampling rate 250 khz, bw 250 khz , sf 8. Header false, transmit gain 50

On Wed, 28 Mar 2018, 11:29 pm Bruno Ricardo Scherer, < notifications@github.com> wrote:

@nilampradhan2 https://github.com/nilampradhan2 could you tell which modifications made it work?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BastilleResearch/gr-lora/issues/27#issuecomment-376979194, or mute the thread https://github.com/notifications/unsubscribe-auth/AilqVAlnN0IpazPRaG-3-037OFtQWiGnks5ti8-EgaJpZM4SJTR3 .

--

https://www.facebook.com/MITWPUOfficial/ https://twitter.com/MITWPU
https://www.instagram.com/MITWPU1652/
https://www.youtube.com/channel/UC8T38mOpW8FuE1tSkqdoPag?view_as=subscriber
https://www.linkedin.com/company/mit-world-peace-university/

hningning commented 6 years ago

Hi,@nilampradhan2 Have you solved this problem?I opened two terminals and connected to the flowgraph via $ nc -l -u localhost 52002 and $ nc -u localhost 52001. After sending over it shows letter U in log just the same as you mentioned before.

nishant1110 commented 6 years ago

Hello @matt-knight. I am trying to replicate your project using USRP B200mini and I was able to build, compile and run it transmitting and receiving using netcat and socket PDU over UDP but as everyone I see "UUUU" on the output screen. The receiver shows Green light on but there is no red light for transmitter.

What do you suggest? TIA.