1.5.5.4.28 SRV_FU_GetBitmap Function

C

uint16_t SRV_FU_GetBitmap(uint8_t *bitmap, uint32_t *numRxPages);

Summary

Gets the bitmap with the information about the status of each page of the image.

Description

This function is used to gets the bitmap with the information about the status of each page of the image.

Parameters

ParametersDescription
bitmapPointer to the bitmap information
numRxPagesPointer to the number of pages received

Returns

Size of bitmap. Maximum value is 1024 bytes. In case of returning 0, the bitmap buffer will be initialized internally in the PRIME stack.

Example

    uint8_t bitmap[1024];
    uint32_t numPages = 0;

    SRV_FU_GetBitmap(&bitmap, &numPages);
    

Remarks

This function is called by the PRIME stack.