1.5.5.4.26 SRV_FU_RegisterCallbackVerify Function
C
void SRV_FU_RegisterCallbackVerify(SRV_FU_IMAGE_VERIFY_CB callback);
Summary
Registers a function to be called back when the received image has been verified.
Description
This routine allows the PRIME Stack to register a function to be called back when the received image has been verified.
Precondition
The SRV_FU_Initialize function should have been called before calling this function.
Parameters
| Parameters | Description |
|---|---|
| callback | Pointer to the callback function |
Returns
None.
Example
void _image_verification(SRV_FU_VERIFY_RESULT verifyResult) { ... } void main(void) { SRV_FU_Initialize(); SRV_FU_RegisterCallbackVerify(_image_verification); }
Remarks
This function is called by the PRIME Stack.
