I found that CoAP requests unexpectedly block GPS positioning. So, the solution is to add a synchronization semaphore between them.
I stopped the CoAP request while waiting for GPS positioning to complete, but it still seems to prevent LTE mode switching.
Do I need to turn off the CoAP client to avoid this? It didn’t seem necessary before, as LTE worked fine when switching to RRC idle mode.
Does anyone know why this is? What else could prevent the LTE module from switching to RRC idle mode?