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

support SX1278? #66

Open
xiaohuasheng opened this issue Jan 14, 2017 · 4 comments
Open

support SX1278? #66

xiaohuasheng opened this issue Jan 14, 2017 · 4 comments

Comments

@xiaohuasheng
Copy link

xiaohuasheng commented Jan 14, 2017

I connect Raspberry 3 with the SX1278 radio module.
My SX1278 radio module supports 433MHz, so I edit the global_conf.json:
image
Run the gateway, it displays:
image
but when I send data from a lora end-device, it can't receive anything, it supports SX1278 or not?
moreover, as the sheet shows, mode 10's BW is 500, but if I set BW in global_conf.json, such as 433, which will work?
image
thanks a lot!

@CongducPham
Copy link
Owner

CongducPham commented Jan 15, 2017 via email

@xiaohuasheng
Copy link
Author

@CongducPham Thans for your reply, I have read 433MHz part of README, and did that as it suggests, the result is:
image
image
I run the same command but have two results, why? and I still can't receive data from end-device, how to debug it?
also, I don't know the meaning of the tips like"Power: state 0", what "state 0" represents?
Hope for your answer!

@CongducPham
Copy link
Owner

state = 0 means everything is OK. Here, setting the frequency seems to give an error of -1 which should not happen in the latest version of the SX1272 lib. I suspect that you are using an old version. Get the latest version of both SX1272.cpp and SX1272.h on the github and retry.

Anyway, normally, even if the returned state is -1, the gw should be running on 433.3MHz. If you don't receive anything, check if your end-device is on that frequency. What example are you using? Make sure that you also have BAND433 uncommented in the example.

@chijiao
Copy link

chijiao commented Oct 29, 2018

I'm tested, support perfect. please change mode to 1. i have two sx1278 model. one as gateway, one as node. can send and received.

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

3 participants