Communication between model and backend
Hello,
I am wondering what is a good way to tell TouchGFX with what objects of the backend to communicate. If for example my application has some backend object "Foo bar" that I want TouchGFX to communicate with, for now the only solution I see is to declare these objects with "extern Foo bar" in the model and essentially reference it as a global variable. For testing and simulation purposes it would be great to pass data (references/pointers) from the backend to the model, e.g., to the constructor. Is there an easy way to do this?
Cheers, Max
