SWRU271I October 2010 – January 2020 CC2540 , CC2540T , CC2541 , CC2541-Q1 , CC2640R2F
Other than processing events, application code can also within the callback functions defined by the application such as simpleProfileChangeCB() and peripheralStateNotificationCB(). These callbacks process in the context of the task that called them. Processing should be limited in these callbacks. If any intensive processing must be done, send an event from the callback to the application so that processing can occur. For more information, see Section 4.5.