Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Default SF and Coding Rate ?

    Scheduled Pinned Locked Moved Discussion
    2 Posts 2 Posters 203 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      snehasg96
      last edited by

      Hello Community,

      I was wondering what actually happens when I do not use the SF parameter while intilaizing LoRa settings like this

      lora = LoRa(mode=LoRa.LORA, region=LoRa.US915, sf=9, coding_rate = LoRa.CODING_4_8, tx_power=20, rx_iq=True)

      here I have used SF 9 what if I remove this parameter does it mean that there would be no SF applied ? or will the default of SF 6 be chosen.

      What should i do, if i dont want any FEC at all? Do i just remove this parameter as well or by default will some value be applied.

      E 1 Reply Last reply Reply Quote 1
      • E Offline
        Eric73 @snehasg96
        last edited by

        @snehasg96 Hello, according to documentation
        https://docs.pycom.io/firmwareapi/pycom/network/lora.html
        Default contructor setting is SF7 CR=4/5

        lora.init(mode, * ,region=LoRa.EU868, frequency=868000000, tx_power=14, bandwidth=LoRa.BW_125KHZ, sf=7, preamble=8, coding_rate=LoRa.CODING_4_5, power_mode=LoRa.ALWAYS_ON, tx_iq=False, rx_iq=False, adr=False, public=True, tx_retries=1, device_class=LoRa.CLASS_A)

        If by FEC you mean CR, sx1276 (lora-chip) was unable to do less than 4/5.

        1 Reply Last reply Reply Quote 1

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post

        Pycom on Twitter

        Pycom