return 0;
}
+
/**
* @brief encode kb and send it to 'pid'
* @param[in] pid receiver's pid
app_terminate();
break;
+ case APP_TERM_REQ_BY_PID: /* run in callee */
+ app_subapp_terminate_request();
+ break;
+
case APP_RESULT: /* run in caller */
case APP_CANCEL:
kbundle = bundle_decode(pkt->data, pkt->len);