See attached document for an overview of the LoRaWAN network architecture.