Download FreeRTOS
 

Quality RTOS & Embedded Software

LIBRARIES
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.

vReleaseNetworkBufferAndDescriptor()
[Ethernet Driver Porting API]

FreeRTOS_IP_Private.h
NetworkBufferManagement.h
void vReleaseNetworkBufferAndDescriptor( NetworkBufferDescriptor_t * const pxNetworkBuffer );
		

Returns to the TCP/IP stack a network buffer descriptor that was previously obtained from the TCP/IP stack by a call to pxGetNetworkBufferWithDescriptor().

If the network buffer descriptor references an Ethernet buffer then the Ethernet buffer is also returned.

pxGetNetworkBufferWithDescriptor() must not be called from an interrupt service routine (ISR).


Parameters:

pxNetworkBuffer   A pointer to the network buffer descriptor being released (returned to the TCP/IP stack).


Example usage:

Examples are provided on the Porting FreeRTOS to a Different Microcontroller page.

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