4 years, 11 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

4 years, 11 months ago.

Hello Igal,

I would take a look at the sx 1280 library:


As well as this document which describes the different features for setting preamble lengths, crc, etc:


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 Igal Fatelevich 10 Jul 2018

Hello Igal,

All the functions and data types can be searched through here:


You should see the PreambleLength data type here:


It looks like the SetPacketParam function sets the preamble length:


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 Karen Yen 10 Jul 2018