Thank you @bluejedi
I’ve already opened another thread about it:
The problem was with different versions of the lmic library. The newest version of the arduino-lmic and the mcci-lmic didn’t work for me. I had to switch back to version 2.3.2 of mcci library:
MCCI_LoRaWAN_LMIC_library-20200619T092138Z-001.zip
I needed to manually install the file in Arduino IDE. When picking the 2.3.2 version from the library manager, it didn’t work for me again. All in all that sounds pretty strange, I know. I’ve spend like 6-8 hours troubleshooting it without gaining much knowledge.
As you say, I need DIO0 and DIO1, if I don’t define those correctly, I get a failure when communicating with the lora radio.