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

    SigFox LoRa conflicts ?

    Scheduled Pinned Locked Moved Discussion
    3 Posts 3 Posters 234 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.
    • B Offline
      bca
      last edited by

      Hello I'm trying to compare sigfox and LoRa.
      there fore I made a program on a Fipy that sends messages on both networks but I experience problems with LoRa if I used Sigfox without power cycling the Fipy.

      here is my sigfox code, am I doing something wrong that let the Sigfox/LoRa modem in Sigfox mode ?

      def run_sigfox :
          RX = False    
           # create a Sigfox socket
           s = socket.socket(socket.AF_SIGFOX, socket.SOCK_RAW)
           # make the socket blocking
           s.setblocking(True)
           # configure it as uplink only (if False)
           s.setsockopt(socket.SOL_SIGFOX, socket.SO_RX, RX)
           cnt = nvs_get('sigfox_cnt')
           message = payload_encode(channel_ids['cnt'],'H', cnt)
           cnt += 1
           nvs_set('sigfox_cnt', cnt)
           message += payload_encode(channel_ids['time'],'I', time.time())
           s.send(message)
           s.close()
      
      robert-hhR O 2 Replies Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @bca
        last edited by

        @bca I have problems with Lora, in that it would not work without power cycling or hard reset even without using Sigfox.

        1 Reply Last reply Reply Quote 0
        • O Offline
          oligauc @bca
          last edited by

          @bca Please can you specify the issues you are experiencing ? Are you using plain lora or Lorawan ?

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

          Pycom on Twitter

          Pycom