Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Updated Jul 2025

xMessageBufferGetStaticBuffers()

[RTOS Message Buffer API]

message_buffer.h

1BaseType_t xMessageBufferGetStaticBuffers( MessageBufferHandle_t xMessageBuffer,
2 uint8_t ** ppucMessageBufferStorageArea,
3 StaticMessageBuffer_t ** ppxStaticMessageBuffer );

configSUPPORT_STATIC_ALLOCATION must be defined as 1 for this function to be available. See the RTOS Configuration documentation for more information.

Retrieve pointers to a statically created message buffer's data structure buffer and storage area buffer. These are the same buffers that are supplied at the time of creation.

Parameters:

  • xMessageBuffer

    The message buffer whose data structure buffer and storage area buffer will be retrieved.

  • ppucMessageBufferStorageArea

    Used to return a pointer to the message buffer's storage area buffer.

  • ppxStaticMessageBuffer

    Used to return a pointer to the message buffer's data structure buffer.

Returns:

pdTRUE if the buffers were retrieved, pdFALSE otherwise.