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

    Set spreading factor

    Scheduled Pinned Locked Moved FiPy
    23 Posts 5 Posters 153 Views 6 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.
    • L Offline
      lloureiro @robert-hh
      last edited by

      @robert-hh Its is done automatically :( lora.has_joined() always returns false. There is a way to see logs messages in FiPy?

      050020c2-5776-4aae-b4d6-9699378f7726-image.png

      1 Reply Last reply Reply Quote 0
      • L Offline
        lloureiro @robert-hh
        last edited by

        @robert-hh It works! I increased SF on join. Thanks a lot for your help

        f4036faa-78ba-4dc5-ae42-469830f4c16e-image.png

        1 Reply Last reply Reply Quote 0
        • B Offline
          bitvijays @robert-hh
          last edited by

          @robert-hh Hope you are doing well and had a good weekend. Thank you for your support.

          In one of the reply, you mentioned that "the data rates for join should be handled automatic. It starts with the highest data rate (lowest sf), and if that fails, the data rate is lowered until eventually a join happens. Join always succeeds here, so it is hard test it."

          Is there a way to test this? like debug messages?

          The scenario being near my house, there are no TTN Gateway, so, i bought a Indoor gateway (which works fine).

          So, I tested sending data using different spreading factor using s.setsockopt(socket.SOL_LORA, socket.SO_DR, data_rate). When I set it to SF12BW125, the gateway far away was also able to receive the message. I was wondering if there's a way to set SF12 for the join request, so that the far gateway gets my Join request. (avoiding buying of a Indoor gateway) and increasing the reach-ability.

          Kind regards,
          bitvijays

          1 Reply Last reply Reply Quote 0

          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
          • 2
          • 2 / 2
          • First post
            Last post

          Pycom on Twitter

          Pycom