ADR_link request fo EU868 band with extra channels

If the loraserver sends a ADR_link request only the EU default channels are included? Why not the extra channels?
loraserver[12357]: time=“2019-07-10T10:14:46+02:00” level=info msg=“link_adr request acknowledged” dev_eui=0600f9ff54ceab31 dr=5 enabled_channels="[0 1 2]" nb_trans=3 tx_power_idx=5

The devices use then only the 3 default channels even they learned before the “extra channels” via NewChannel request.

Could you post your configuration? The following works fine for me:

  # Enable only a given sub-set of channels
  #
  # Use this when ony a sub-set of the by default enabled channels are being
  # used. For example when only using the first 8 channels of the US band.
  # Note: when left blank, all channels will be enabled.
  # 
  # Example:
  # enabled_uplink_channels=[0, 1, 2, 3, 4, 5, 6, 7]
  enabled_uplink_channels=[]


  # Extra channel configuration.
  #
  # Use this for LoRaWAN regions where it is possible to extend the by default
  # available channels with additional channels (e.g. the EU band).
  # The first 5 channels will be configured as part of the OTAA join-response
  # (using the CFList field).
  # The other channels (or channel / data-rate changes) will be (re)configured
  # using the NewChannelReq mac-command.
  #
  # Example:
  [[network_server.network_settings.extra_channels]]
  frequency=867100000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=867300000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=867500000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=867700000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=867900000
  min_dr=0
  max_dr=5

INFO[0128] link_adr request acknowledged dev_eui=0101010101010101 dr=5 enabled_channels=“[0 1 2 3 4 5 6 7]” nb_trans=1 tx_power_idx=1

(The ACK was for the previous LinkADRReq which requested tx_power_idx=1, that is why it does not match the screenshot.)

  # Disable mac-commands
  #
  # When set to true, LoRa Server will not handle and / or schedule any
  # mac-commands. However, it is still possible for an external controller
  # to handle and / or schedule mac-commands. This is intended for testing
  # only.
  disable_mac_commands=false

  # Disable ADR
  #
  # When set, this globally disables ADR.
  disable_adr=false

  # Enable only a given sub-set of channels
  #
  # Use this when ony a sub-set of the by default enabled channels are being
  # used. For example when only using the first 8 channels of the US band.
  # Note: when left blank, all channels will be enabled.
  # 
  # Example:
  # enabled_uplink_channels=[0, 1, 2, 3, 4, 5, 6, 7]
  enabled_uplink_channels=[0, 1, 2]


  # Extra channel configuration.
  #
  # Use this for LoRaWAN regions where it is possible to extend the by default
  # available channels with additional channels (e.g. the EU band).
  # The first 5 channels will be configured as part of the OTAA join-response
  # (using the CFList field).
  # The other channels (or channel / data-rate changes) will be (re)configured
  # using the NewChannelReq mac-command.
  #

  [[network_server.network_settings.extra_channels]]
  frequency=867100000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=867300000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=867500000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=867700000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=867900000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=865500000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=865700000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=865900000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=866100000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=866300000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=866500000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=866700000
  min_dr=0
  max_dr=5

  [[network_server.network_settings.extra_channels]]
  frequency=866900000
  min_dr=0
  max_dr=5

enabled_uplink_channels=[0, 1, 2]

There you go! Just leave that blank for the EU868 band. This is mostly used to reduce the number of channels (e.g. for the US band there are 72 and most of the times you only want to use 8 + 1 single SF).

ok, I will let it empty, and try again! Thanks

now it looks better!!
Jul 10 11:59:30 lora-server.mgmt.komro.net loraserver[14383]: time=“2019-07-10T11:59:30+02:00” level=info msg=“link_adr request acknowledged” dev_eui=0000000000000001 dr=5 enabled_channels="[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15]" nb_trans=1 tx_power_idx=7

1 Like

What is the reason that for some devices the NS sends still “enabled channels=[0 1 2]” ?
Does it depend if “NewChannelReq” was successfully for all extra channels?

Jul 17 08:26:59 lora-server.mgmt.komro.net loraserver[28511]: time=“2019-07-17T08:26:59+02:00” level=info msg=“pending mac-command block set” cid=NewChannelReq commands=3 dev_eui=a81758fffe03476a
Jul 17 08:29:29 lora-server.mgmt.komro.net loraserver[28511]: time=“2019-07-17T08:29:29+02:00” level=info msg=“link_adr request acknowledged” dev_eui=647fda0000000927 dr=5 enabled_channels="[0 1 2]" nb_trans=1 tx_power_idx=7
Jul 17 08:31:59 lora-server.mgmt.komro.net loraserver[28511]: time=“2019-07-17T08:31:59+02:00” level=info msg=“link_adr request acknowledged” dev_eui=a81758fffe03e91f dr=5 enabled_channels="[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15]" nb_trans=2 tx_power_idx=7
Jul 17 08:32:59 lora-server.mgmt.komro.net loraserver[28511]: time=“2019-07-17T08:32:59+02:00” level=info msg=“link_adr request acknowledged” dev_eui=a81758fffe03e91f dr=5 enabled_channels="[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15]" nb_trans=1 tx_power_idx=7

Thanks