This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Where to create a message?

Other Parts Discussed in Thread: CC2538

Hi

I'm trying to write my own application code on CC2538. when I tried to create a Message for keyboard interrupt found below routine in sample applications (samplelight for example)

interrupt_keybd() -> hal_key_int_keys()  -> hal_keyCback_t ->  OnboardkeyCallback() -> Onboard_sendkey ()

I need to know if I understood the way right or not? why the way is complex like this? Can I create the message directly in my interrupt callback function?

Thanks

Behnam