Experience with Lopy and ADR (Adaptive Data Rate)



  • Hello,
    My "bad" experience with Lopy and ADR (Adaptive Data Rate) :

    First case: LORAWAN with Objenious (French private network) :

    The antenna is quite far away so the JOIN procedure works 100% only with SF> 9 or DR <3.
    I therefore force the Data Rate to 10 with:

    lora = LoRa (mode = LoRa.LORAWAN, device_class = LoRa.CLASS_C, adr = True)
    lora.join (activation = LoRa.OTAA, auth = (dev_eui, app_eui, app_key), timeout = 0, dr = 3)
    

    Without any other configuration, sending UPLINK is always done with SF = 7 by default.
    I then get 70% UPLINK failure. For successful UPLINK I have: RSSI = -115 dBm, noise = -115 dBm, signal = -124dBm

    If I force SF to 12 (data rate = 0) with:

    s.setsockopt (socket.SOL_LORA, socket.SO_DR, 0)
    

    All transmissions are done with an SF at 12, does setsockopt () delete the ADR option?
    In both configurations, the ADR does not work!

    Second case: LORAWAN with TTN and Pico Gateway Nemeus:

    The gateway is very near so the JOIN is done with SF = 7.

    If I force SF to 12 (data rate = 0) with:

    s.setsockopt (socket.SOL_LORA, socket.SO_DR, 0)
    

    All transmissions are done with a SF to 12 ("rssi": -57) while the ADR should allow to lower the SF
    In this second case, the ADR does not work either.

    Your experience with ADR would be welcome to try to make it work with my setup.

    Thanks


 

Hello World?

Pylife on Kickstarter - November 2018








Back Us On Kickstarter >

Pycom on Twitter