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

    FSK and RX2 Windows

    Scheduled Pinned Locked Moved LoPy
    fskrx2addchannel
    1 Posts 1 Posters 804 Views 2 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.
    • J Offline
      jubbs
      last edited by

      Hi have a channel plan that I need to match in the 868 spectrum and I am a bit confused about how to set the FSK and RX2 channels. Below is the Channel plan that I need to match and the channels that I have setup. Does anyone have any advice?

      Jubbs

      Channel Frequency (MHz) Bandwidth (kHz) Sp Factor / Data Rate
      0 864.8625 125 12-7 / 0-5
      1 865.0625 125 12-7 / 0-5
      2 865.4025 125 12-7 / 0-5
      3 865.6025 125 12-7 / 0-5
      4 865.9850 125 12-7 / 0-5
      5 866.2000 125 12-7 / 0-5
      6 866.4000 125 12-7 / 0-5
      7 866.6000 125 12-7 / 0-5
      LoRa 865.0625 250 7 / 6
      FSK 865.0625 125 50 kbps

      RX2 window: 866.5500 MHz, DR4 (SF8)
      Max power: 36 dBm
      Coding rate: 4/5

      def __init__(self, dev_addr, nwk_swkey,  app_swkey):
          lora = LoRa(mode=LoRa.LORAWAN, adr=True, public=True, tx_retries=3, tx_power=14)
          lora.add_channel(0, frequency=864862500, dr_min=0, dr_max=5)
          lora.add_channel(1, frequency=865062500, dr_min=0, dr_max=5)
          lora.add_channel(2, frequency=865402500, dr_min=0, dr_max=5)
          lora.add_channel(3, frequency=865602500, dr_min=0, dr_max=5)
          lora.add_channel(4, frequency=865985000, dr_min=0, dr_max=5)
          lora.add_channel(5, frequency=866200000, dr_min=0, dr_max=5)
          lora.add_channel(6, frequency=866400000, dr_min=0, dr_max=5)
          lora.add_channel(7, frequency=866600000, dr_min=0, dr_max=5)
          lora.add_channel(8, frequency=865062500, dr_min=6, dr_max=6)
          lora.remove_channel(9)
          lora.remove_channel(10)
          lora.remove_channel(11)
          lora.remove_channel(12)
          lora.remove_channel(13)
          lora.remove_channel(14)
          lora.remove_channel(15)
      
          self.lora = lora
          self.dev_addr = dev_addr
          self.nwk_swkey = nwk_swkey
          self.app_swkey = app_swkey
          self.mac = binascii.hexlify(lora.mac())
          self.join()
      
      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