Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid version 0 #11

Open
sekisek opened this issue Apr 5, 2018 · 4 comments
Open

Invalid version 0 #11

sekisek opened this issue Apr 5, 2018 · 4 comments

Comments

@sekisek
Copy link

sekisek commented Apr 5, 2018

Hi have Raspberry Pi 3b.

I am trying to connect sx1278.

The radio module

I get the same error for the sender and reciver

node sender.js
open Error: Invalid version 0, expected 0x12
at SX127x. (/home/pi/node-sx127x/lib/sx127x.js:124:23)
at /home/pi/node_modules/async/dist/async.js:3874:9
at /home/pi/node_modules/async/dist/async.js:473:16
at replenish (/home/pi/node_modules/async/dist/async.js:993:25)
at iterateeCallback (/home/pi/node_modules/async/dist/async.js:983:17)
at /home/pi/node_modules/async/dist/async.js:958:16
at /home/pi/node_modules/async/dist/async.js:3871:13
at SX127x. (/home/pi/node-sx127x/lib/sx127x.js:472:5)
/home/pi/node-sx127x/examples/sender.js:14

any Idea?

@lakewik
Copy link

lakewik commented Apr 15, 2018

Hi
Module probably isn't connected properly or you don't enabled SPI interface in Raspberry Pi configuration (sudo raspi-config).

@aylashiv
Copy link

Also provide sufficient power to the LoRa Module as it draws good power, Better to provide external power supply 3.3V rather than feeding it from the raspberrypi's 3.3v.

@lorenzoromagnoli
Copy link

Hey @sandeepmistry!

I'm also experiencing the same issue using the Dragino lora pi hat v 1.4 with a raspberry pi 3

I also tried modifying the pins used inside the library but had no better luck.

I managed to have the communication between the pi and the lora module working using this script https://github.com/tftelkamp/single_chan_pkt_fwd, So I don't think there is a power or a configuration issue.

Any other suggestion on how to solve this?

@epasinetti
Copy link

Hey @sandeepmistry!

I'm also experiencing the same issue using the Dragino lora pi hat v 1.4 with a raspberry pi 3

I also tried modifying the pins used inside the library but had no better luck.

I managed to have the communication between the pi and the lora module working using this script https://github.com/tftelkamp/single_chan_pkt_fwd, So I don't think there is a power or a configuration issue.

Any other suggestion on how to solve this?

Same problem here ...have you solved ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants