Adding custom channel plan support in AS923

The asia pacific region supports custom channel planning and
downlink channel request. By virtue of a mistake, this information
was missing and hence a custom channel support was not working.
Fixes issue #6783.
pull/6808/head
Hasnain Virk 2018-05-04 10:11:44 +03:00
parent 9f36baab1b
commit f63ed86cfc
1 changed files with 2 additions and 1 deletions

View File

@ -293,7 +293,8 @@ LoRaPHYAS923::LoRaPHYAS923(LoRaWANTimeHandler &lora_time)
phy_params.accept_tx_param_setup_req = true;
phy_params.fsk_supported = true;
phy_params.cflist_supported = true;
phy_params.dl_channel_req_supported = true;
phy_params.custom_channelplans_supported = true;
phy_params.default_channel_cnt = AS923_NUMB_DEFAULT_CHANNELS;
phy_params.max_channel_cnt = AS923_MAX_NB_CHANNELS;
phy_params.cflist_channel_cnt = AS923_NUMB_CHANNELS_CF_LIST;