File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
features/lorawan/lorastack/phy Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -263,15 +263,22 @@ LoRaPHYAU915::LoRaPHYAU915(LoRaWANTimeHandler &lora_time)
263
263
// transmission on the same channel
264
264
copy_channel_mask (current_channel_mask, channel_mask, AU915_CHANNEL_MASK_SIZE);
265
265
266
- // set bands for EU868 spectrum
266
+ // set default channels
267
+ phy_params.channels .channel_list = channels;
268
+ phy_params.channels .channel_list_size = AU915_MAX_NB_CHANNELS;
269
+ phy_params.channels .mask = channel_mask;
270
+ phy_params.channels .default_mask = default_channel_mask;
271
+ phy_params.channels .mask_size = AU915_CHANNEL_MASK_SIZE;
272
+
273
+ // set bands for AU915 spectrum
267
274
phy_params.bands .table = (void *) bands;
268
275
phy_params.bands .size = AU915_MAX_NB_BANDS;
269
276
270
- // set bandwidths available in EU868 spectrum
277
+ // set bandwidths available in AU915 spectrum
271
278
phy_params.bandwidths .table = (void *) bandwidths_AU915;
272
279
phy_params.bandwidths .size = 16 ;
273
280
274
- // set data rates available in EU868 spectrum
281
+ // set data rates available in AU915 spectrum
275
282
phy_params.datarates .table = (void *) datarates_AU915;
276
283
phy_params.datarates .size = 16 ;
277
284
You can’t perform that action at this time.
0 commit comments