framework/src/st_things/things_stack/things_stack.c
//----------------------------------------------------------------------------------
/**
 * Function defination for pin generation for ownership transfer.
 */
Function defination for pin generation for ownership transfer.
Function defination for pin generation for ownership transfer .
int things_register_pin_generated_func(things_pin_generated_func_type func)
{
	if (NULL != func) {
#ifdef __SECURED__
		return esm_register_pin_generated_cb(func);
#else
		THINGS_LOG_E(TAG, "Stack is in UNSECURED Mode");
		return 0;
#endif
	} else {
		return 0;
	}
}
int things_register_pin_generated_func ( things_pin_generated_func_type func ) { if ( NULL != func ) { #ifdef __SECURED__ return esm_register_pin_generated_cb ( func ) ; #else THINGS_LOG_E ( TAG , " " ) ; return 0 ; #endif } else { return 0 ; } }
Function defination for pin generation for ownership transfer.
Function defination for pin generation for ownership transfer .