-
Notifications
You must be signed in to change notification settings - Fork 40
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
status? #6
Comments
I do, with a RFM95W <-> NiceRF LoraV2 boards, also RFM95W <-> pycom.io LoPy boards. What does you initial configuration look like? E.g. radio.set_tx_power(20, 1).unwrap();
radio.set_spreading_factor(12).unwrap();
radio.set_preamble_length(8).unwrap();
radio.set_coding_rate_4(8).unwrap();
radio.set_signal_bandwidth(125_000i64).unwrap();
radio.set_crc(true).unwrap(); Is the configuration really same on both sides? Can you verify that the transmitting side really is transmitting using e.g. some SDR tool? |
Checking with SDR there is no transmission. Strangely, after I have run the code once there is a chirp on again starting up with gdb, before I reach the first brkpt at entry. But then nothing. The startup chirp does not happen if I comment out any I have tried various settings for |
The code seems to make no use of DIO0 - DIO5. @akloboucnik are you leaving those unconnected, or connecting them to something? (I am using mostly RFM95 like sx127x based boards, but have been trying some others too, on several different stm32 boards.) |
Forgot to mention that above testing was with the @hdoordt fork (https://github.com/hdoordt/sx127x_lora) which seems most active at the moment, but have also been trying with the fork by @mvniekerk . There is a small difference in the API, @hdoordt removed the necessity to specify the length of the transmit buffer, which seems like an improvement but makes switching back and forth more work. The original at @mr-glt no longer seems to be available in the sense of indicating it in cargo.toml. I am now getting
I'm not sure if that is intentional or a bug, or some change that I need to accommodate differently at my end. |
I am managing to get a small example to build and run, that is not panic, on different MCUs, but am having no luck with communication to a receiver. I think I have all parameters set the same on sender and receiver, so I am wondering if I really should be expecting that this package is working. I have been playing with release, this git version, and the git version https://github.com/mvniekerk/sx127x_lora which seems more active recently.
Does anyone actual have send and receive examples working in a way that they communicate?
The fork at https://github.com/mvniekerk/sx127x_lora does not have issues enabled. I think that is usually an indication (hope) that a pull request will eventually merge that fork back here, so issues should be tracked here. Is that a fair assumption?
The text was updated successfully, but these errors were encountered: