Will San Filippo

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: ADR seemingly not working #21259
    Will San Filippo
    Participant

    Thanks for the quick reply but no luck. Note that what I posted before was not the actual contents of /var/config/lora/lora-network-server.conf. Rather it was from the log. Should not be a big deal I hope.

    I noticed that I received two MAC commands from the server. Here are the contents of each MAC command:

    Mac Command 1:
    datarate = 4
    TxPower = 0
    ChMask = 1
    Redundancy = 0x71

    This seems reasonable. It is telling me to use DR_4 and that the channel mask applies to channels 64-71 and to turn off all 125 kHz channels.

    Mac Command 2:
    datarate = 0
    TxPower = 0
    Redundancy = 1
    ChMask = 0xff

    This is the one that does not make sense. Well, the channel mask makes sense as it applies to the lower 8 channels and those are the ones I have enabled. However, why is it saying use DR_0? I would have thought it would say DR_3. Are there some other settings I need to change/set? Does Dwell Time have any effect on this? MaxTxPower?

    Just as an FYI my .conf file has this in it:

    “lora”: {
    “netID”: “010203”, /* netID for beacon packets */
    “frequencyBand”: “915”, /* US=”915″, EU=”868″ */
    “channelPlan”: “US915″, /* US=”915″, EU=”868” */
    “frequencySubBand”: 1, /* Sub-band for US operation, 1-8 */
    “rx1DatarateOffset”: 0, /* Datarate offset for mote rx window 1 sent in join response (0-3) */
    “rx2Datarate”: 8, /* Datarate for mote rx window 2 sent in join response EU:(0-7) AU/US:(8-13) */
    “minDatarate”: 0, /* Minimum US tx data rate for ADR */
    “maxDatarate”: 4, /* Maximum US tx data rate for ADR */
    “maxTxPower”: 14, /* Max Tx power (dBm), -6 to 26 */
    “ADRStep”: 30, /* 3 dB per ADR step */
    “frequencyEU”: 867500000 /* center freq for extra EU channels (Hz) */

    My log has this:
    “lora” : {
    “ADRStep” : 30,
    “beaconDelay” : 0,
    “beaconInterval” : 0,
    “beaconPower” : 27,
    “channelPlan” : “US915”,
    “dutyCyclePeriod” : 60,
    “eui_1” : “00:80:00:00:A0:00:0F:10”,
    “frequencyBand” : “US915”,
    “frequencyEU” : 867500000,
    “frequencySubBand” : 1,
    “joinByteOrder” : “LSB”,
    “joinDelay” : 5,
    “lbtEnabled” : false,
    “lbtScanTime” : 5000,
    “lbtSxOffset” : -4,
    “lbtThreshold” : -65,
    “maxDatarate” : 4,
    “maxDatarateEU” : 5,
    “maxDatarateUS” : 4,
    “maxTxPower” : 14,
    “minDatarate” : 0,
    “minDatarateEU” : 0,
    “minDatarateUS” : 0,
    “netID” : “010203”,
    “rx1DatarateOffset” : 0,
    “rx1Delay” : 1,
    “rx2Datarate” : 8,
    “rx2Frequency” : 923300000,
    “sxOffset” : -162
    },

    Thanks!

    in reply to: Understanding downlink channel used by gw/server USA 915 #20520
    Will San Filippo
    Participant

    Thanks! I completely missed the / 8 instead of the % 8.

Viewing 2 posts - 1 through 2 (of 2 total)