If you are using tasks within Lite-C (by calling the "wait" function) there are 2 solutions to exchange data:
Either you use global variables or you must implement a messaging system e.g. a queque.
The pointer of pointer method is not working here (although ok in other multitasking systems) because
in Lite-C on reentry the stack is not originally reconstructed.