So this should do it, acknowledging that no channel willever use AS923 data rate 0 or 1? for channel in range(0, 15): lora.remove_channel(channel) lora.add_channel(0, frequency=923200000, dr_min=0, dr_max=3) lora.add_channel(1, frequency=923400000, dr_min=0, dr_max=3) lora.add_channel(2, frequency=922200000, dr_min=0, dr_max=3) lora.add_channel(3, frequency=922400000, dr_min=0, dr_max=3) lora.add_channel(4, frequency=922600000, dr_min=0, dr_max=3) lora.add_channel(5, frequency=922800000, dr_min=0, dr_max=3) lora.add_channel(6, frequency=922000000, dr_min=0, dr_max=3)