Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

Feature request: IGMP support (or just better support for generic ethernet packages)

Posted by illishar on June 5, 2018

I'm trying to set up a FreeRTOS+TCP project, with some multicast capabilities. To do that you need to "join a multicast group":

Eg.: setsockopt(socket, IPPROTOIP, IPADD_MEMBERSHIP, (char*)&mreq, sizeof(mreq))

To do that you need to send out an IGMP package. This thread: https://sourceforge.net/p/freertos/discussion/382005/thread/6835a411/ ... claims it to be an easy feat. It isn't though. I've implemented it. And it's very intrusive to the original code. The problem is that the stack considers all outgoing traffic (event: eStackTxEvent, function: vProcessGeneratedUDPPacket) to be UDP traffic. Not all traffic is though, so what happens is that the vProcessGeneratedUDPPacket function contains all kinds of exceptions, that remoddels the packages back into other package types. It's rather messy. This means that if you implement lower level package types, like IGMP, it will add a lot of changes to the FreeRTOS+TCP code and will thereby prevent future merges from upstream.

I'm willing to join the developers in this regard, if you like. (But for now, I'm going to revert all my changes and live without multicast.)


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


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

Latest News

FreeRTOS v10.2.1 is available for immediate download. MIT licensed, includes 64-bit RISC-V, NXP Cortex-M33 demo & Nuvoton Cortex-M23 demo.

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Cadence Tensilica Cortes

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Mediatek

Renesas

RISC-V

SiFIve RISC-V

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner