see here: https://docs.pycom.io/tutorials/lora/lorawan-abp/