I was wondering if the coreConfig structure has to be set before LoRaWAN_Init is called, or can its values be assigned afterwards. The reason I ask is because I want to assign to the DevEUI the value of the manufacturing DevEUI, which is found using the LoRaWAN_GetInfo function. However, LoRaWAN_Init must be called before LoRaWAN_GetInfo.
So, is it OK to call LoRaWAN_Init with a blank coreConfig structure?
Here’s another question about coreConfig. Is there a way to change a coreConfig parameter (say Tx Power or FPort) while the stack is running and have the change take effect without re-initializing?
It appears that the pointer to the coreConfig structure passed during the LoRaWAN_Init call is stored in the coreArguments structure. Other LoRaWAN functions can then read coreConfig members via the stored pointer.