Zigbee: difference between ZB_SCHEDULE_CALLBACK and ZB_SCHEDULE_APP_CALLBACK

What is the difference between ZB_SCHEDULE_CALLBACK (zb_scheduler.h) and ZB_SCHEDULE_APP_CALLBACK (zboss_api_core.h)?

I understand that ZB_SCHEDULE_CALLBACK can't be called from ISR context, will ASSERT.

But in the context of a zigbee callback or signal, looks like both are working fine.

Is there one prefered/recommnded over the other?

Is there one faster than the other?

I have performance issue and I try to optimize stuff.

Thanks.

Related