GithubHelp home page GithubHelp logo

rpi-lora-tranceiver's People

Contributors

goodcheney avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rpi-lora-tranceiver's Issues

Assistance With Writing Golang Equivalent

Hello, I do not know C++ so I'm currently investigating writing a port for this in Golang over here. This is the first time I've experimented with the Dragino LoRa GPS HAT, and the first time doing something like this so I'm a little unsure of what to do since there's no documentation.

Thanks.

Corrupted Data on receive

the transmission is working perfectly
but i'm having issues on receiving packets i'm sending123456
either i receive them corrupted or i receive them scrambled like 142356
but sometimes and rarely i receive them correctly

Any write operation to the REG_IRQ_FLAGS cleans all flags, not just the ones where 1 is written

I have been trying to get the CRC check working properly, and found two issues. The first one is already addressed here in the pull request #2 .

The other one that prevents the code from detecting the CRC check failures is that any writing operation to the REG_IRQ_FLAGS register (even writing 0x00) causes all the IRQ flags to be reset, not just the intended ones. In the example receive function, there is this line that is supposed to clean only the RxDone flag:

writeReg(REG_IRQ_FLAGS, 0x40);

but actually it cleans all the flags, so you never detect the CRC error. A quick fix is to read the flags before doing any writing to that register. But what seems to me to be a greater problem is the fact that the datasheet says "Writing 1 resets a flag", and in reality, all flags are reset. Even the example code follows the datasheet. I have two RPI Lora Hat boards, and they both behave this way.

Unrecognized Receiver

I just received the rpi lora/gps hat and connected it to my Raspberry Pi 3B+, on running the dragino_lora_app code, and get the following error

$ ./dragino_lora_app sender hello
Unrecognized transceiver.

System Info

Model: Raspberry Pi 3B+

No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 9.11 (stretch)
Release:	9.11
Codename:	stretch
Linux rpi3 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux

Missing license information

Could you, please, add a license file so that it becomes clear how this code may be used. GPL would be fine.

Best regards

Heinrich

setting spreading factor has no effect

Hello,

I changed the spreading factor in dragino_lora_app to 10:

// Set spreading factor (SF7 - SF12)
sf_t sf = SF10;

and run "make" (of course).

But this has no effect. The server still receives SF7-messages, but not SF10-messages.

Unrecognized transceiver. (again)

Dear bone daddy, I have the same problem with a raspberry pi 3b+ paired with the Dragino LoRa GPS hat v1.4. When the program is launched a packet is transmitted through LoRa, but after this first communication is no longer possible to send data and I have to shutdown and remove the power to the pi. The Lora-Rx blue LED stays on with a steady light after the first run, do you think this could be the issue?

$ ./dragino_lora_app sender HI
SX1276 detected, starting.
Send packets at SF7 on 868.100000 Mhz.
------------------
send: HI
$ ./dragino_lora_app sender HI
Unrecognized transceiver.

How do you solve your problem!? Thank you!
Fede

Originally posted by @theRosyProject in #5 (comment)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.