Starting out with an Arduino Uno and Dragino LoRa shield

That is a very old and unmaintained implementation. Better to look at the MCCI-LoRaWAN-LMIC implementation as something more up to date.

Also take a look at

As one of the better documented frameworks supporting either MCCI or IBM LMIC (for under resourced boards/MCU’s) based implementations.