Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 4 months ago.
how do i control the preamble length?
im using the sx 1280 transceiver broadcasting LORA modulation i would like to know how i can control the next parameters:
preamble lengh? header mode? crc? transmitted data?
thanks you for the help
Question relating to:
1 Answer
6 years, 4 months ago.
Hello Igal,
I would take a look at the sx 1280 library:
https://os.mbed.com/teams/Semtech/code/SX1280Lib/
As well as this document which describes the different features for setting preamble lengths, crc, etc:
https://www.mouser.com/ds/2/761/sx1280_81-1278114.pdf
Hope this helps!
-Karen, team Mbed
If this solved your question, please make sure to click the "Thanks" link below!
hi karen, thank you for the answer but im still having truble finding the specific code part which sets the length. isit possible for your help please?
thank you.
posted by 10 Jul 2018Hello Igal,
All the functions and data types can be searched through here:
https://os.mbed.com/teams/Semtech/code/SX1280Lib/docs/tip/classSX1280.html
You should see the PreambleLength data type here:
It looks like the SetPacketParam function sets the preamble length:
https://os.mbed.com/teams/Semtech/code/SX1280Lib/docs/tip/sx1280_8cpp_source.html#l00281
There is also a useful guide for LoRa settings on page 111 of the document I have linked previously.
Hope this helps!
-Karen, team Mbed
posted by 10 Jul 2018