GPRS in background?

My program is recording GPS location every second and I need to send the location every 30 seconds via GPRS. Sending takes slightly more than 1 second with a good GSM connection, but probably it can take more with a weak signal.

Is there any chance to send it via GPRS in the background, not affecting 1 second GPS recording required?

Answering myself.

I overcame it using FreeRTOS, Arduino-FreeRTOS-SAMD21/Basic_RTOS_Example.ino at master · BriscoeTech/Arduino-FreeRTOS-SAMD21 · GitHub - works brilliant now!

Hi,

Any chance you could share your implementation of FreeRTOS? I am facing same problem and cannot find a good solution of that.