T
@aris This topic looks quite old, and I really do hope that you have found the solution by now, but if not:
To hardcode SF12 when joining this works for us:
when joining:
self.lora.join(activation=LoRa.OTAA, auth=(self.dev_eui, self.app_eui, self.app_key), timeout=0, dr=0)
After setting up the socket:
self.s.setsockopt(socket.SOL_LORA, socket.SO_DR, 0)