Replies: 6 comments 4 replies
-
|
Hi Scott, the difference here is that the first 4 values (without the _LI suffix) are the coding rate with standard interleaver. To configure them, you set the denominator of the coding rate either as RadioLib/src/modules/SX128x/SX128x.h Lines 638 to 646 in 1de9837 Macros in the header file are only for internal use, and not really intended for the user in most cases (unless explicitly stated in documentation of a specific method). |
Beta Was this translation helpful? Give feedback.
-
|
Thank you SO much! You have always been so generous to give direction to those of us who 'try' to follow the documentation but don't always see a critical detail. Much appreciated! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Let's try that again. I have a simple TX and RX test for the SX1262 T3S3 boards I have. These are validated as working with meshtastic firmware. I seem to get to the point where the radio says it initialises and says it's transmitting but I never receive anything. I've broken this down to smaller tests to try prove the situation but was working on this as part of some other bigger code. The code block isn't quite working for some reason, will try again: The TX code: The rx code: Does anything jump out at you as wrong around the initialisation sequence? I have a feeling that it's something like that that's basically wrong, or perhaps the SX1262 is just different. I'm about to give up and use another library. |
Beta Was this translation helpful? Give feedback.
-
|
What exact output do you get to the serial monitor? Any RadioLib error codes? |
Beta Was this translation helpful? Give feedback.
-
|
Just wanted to say thanks very much, it's now working! After all this time, I have successful transmit and receive using RadioLib on esp32 t3 s3! Also managed to get a test packet to the things network, that's real progress and couldn't have done it without you. Thanks again! |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Greetings. In searching the 'Discussions' category before creating a new post, I see that the topic of configuring sx1280 & sx1280PA devices has been talked about before. However, I was not able to locate exactly what I'm failing to understand clearly.
My RadioLib install in the Arduino IDE is v7.3.0.
I've been trying to find all the acceptable parameters for initializing a LilyGO 't3s3' device with an sx1280PA on board. I finally got everything working but am not understanding what I should be using for the Coding Rate parameter. (once I have everything tested, of course I'll post my configuration for everyone).
I'm not a 'real' programmer, but have been going through repositories from Meshtastic, tinyGS, and of course RadioLib to try to gain an understanding of what my valid CR values are for this device.
In src/modules/SX128x/SX128x.cpp, I see:
... and I see that there are -7- possible CR values and when using RadioLib, it might be wise to refer to them by the names listed in src/modules/SX128x/SX128x.h:
... but when I try to use (in radio.begin), for instance, RADIOLIB_SX128X_LORA_CR_4_5, I get error-10 (invalid CR). But if I just use "5", that works. However, thinking I was now understanding the situation, I tried a CR value of "1" (based on the list of 7 valid values) but "1" fails w/ the same error-10. So, I'm not clear if there are actually -7- valid values here or the -4- that I've always used w/ other devices.
So in short, would someone be kind enough to give me some guidance on what the correct way is to set my CR value w/ these t3s3 sx1280 & sx1280PA devices?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions