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.

CC2652R7: what is the usage of event OsalPort_SYS_EVENT_MSG

Part Number: CC2652R7
Other Parts Discussed in Thread: Z-STACK

Hi,

I am developing an sample application based on zclSampleThermostat, I have created an new event in this which is having a mask of 0x8000, i was surprise even I am not setting the event my code under zclSampleThermostat_process_loop come across the event that matches with bit mask 0x8000.

i thought it was may be memory corruption  in appServiceTaskEvents variable, but that was not the case, an method "OsalPort_msgReceive" is setting this event as it was also using event mask 0x8000 for OsalPort_SYS_EVENT_MSG.

i want to understand the usage of this, and by it is overlapped with application event mask. 

can i give it a new value that will be 0x80000000.

#define OsalPort_SYS_EVENT_MSG           0x80000000 // in place of  0x8000

jagdish K