FSK and RX2 Windows



  • 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()

Log in to reply
 

Pycom on Twitter