Download FreeRTOS
 

Quality RTOS & Embedded Software

KERNEL
WHAT'S NEW
Simplifying Authenticated Cloud Connectivity for Any Device.
Designing an energy efficient and cloud-connected IoT solution with CoAP.
Introducing FreeRTOS Kernel version 11.0.0:
FreeRTOS Roadmap and Code Contribution process.
OPC-UA over TSN with FreeRTOS.

vStreamBufferSetStreamBufferNotificationIndex
[RTOS Stream Buffer API]


stream_buffer.h

void vStreamBufferSetStreamBufferNotificationIndex( StreamBufferHandle_t xStreamBuffer,
                                                    UBaseType_t uxNotificationIndex );

Sets the task notification index used for the supplied stream buffer. Successive calls to stream buffer APIs (like xStreamBufferSend or xStreamBufferReceive) for this stream buffer will use this new index for their task notifications.

Enable stream buffer functionality by including the FreeRTOS/source/stream_buffer.c source file in the build and by setting the configUSE_STREAM_BUFFERS configuration constant to 1 in FreeRTOSConfig.h.

Parameters:

xStreamBuffer

The handle of the stream buffer for which the task notification index is set.

uxNotificationIndex

The task notification index to set.

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.