How to use VLAN

cmarmonier wrote on Tuesday, September 26, 2017:


How can I do to use some VLAN for a physcical interface ? I didn’t find documentation about this.

Can you give me configuration file ?

heinbali01 wrote on Tuesday, September 26, 2017:

FreeRTOS+TCP does not have code to handle VLAN, or more precisely, to recognise and handle IEEE 802.1Q headers.
But your EMAC might support VLAN directly. What I don’t now is if the 4-byte header will be removed by the EMAC.
If not, it can be removed by applying a memmove{} on the packet. Which is a waste of time. Or alternatively, a lot of code should be changed in the library.
What platform ( MCU } are you using?