I want part of my program to send messages to layers (the app layer and HAL). Based on the TI demo apps, I need two registered task IDs to do this. How do you tell one registered task ID from the first one?
I understand that HAL is initiated first, so I should assume the first task ID that's registered is from HAL. But is there a better method? What do the pros do?