on UART2 we’ve connected an GPS device. Now, we tried to switch this job from task 0 to a lower priorized task (task 2) - without success.
Calling the initialization functions (related AT commands and adl_fcmSubscribe()) within task 2 doesn’t help - the callback functions do always run in task 0. One workaround: Putting the data pointer recevied by FCM data handler into a message in order to sent it to the wanted task context.
Is there an easier way?