how to build the network framework based on freertos?

as i know, freertos has its native tcp/ip stack implementation, but the network application usually need much more function such as wpa protect with wpa_supplication, mac layer such as 802.11 for wifi module. did the freertos network has any mandatory demands on the extern module releates this? on esp32, i have see the ” lwip+wpa-supplicant+802.11 maclayer by chip vendor ” is feasible. if i dont use lwip, so did the “freertos native tcp/ip stack + wpa-supplicatnt + 802.11 mac layer” feaible?

how to build the network framework based on freertos?

FreeRTOS+TCP is a pure TCP/IP stack. It doesn’t know anything about the hardware or protocols like WiFi and WPA. This hardware interfacing has been put into files like e.g. :
lib/FreeRTOS-Plus-TCP/source/portable/NetworkInterface/esp32/NetworkInterface.c
It does two things:
  • Send Ethernet packets ( xNetworkInterfaceOutput() )
  • Receive Ethernet packets and send them to the IP-stack ( xSendEventStructToIPTask() )
I haven’t worked with the ESP32 yet, but I assume that the demo application implements several WPA types. I did work with the Microchip pic32mzef demo and saw that it connects well to my WiFi network that uses WPA2. The drivers were made available by Microchip.

how to build the network framework based on freertos?

so, it seems the wpa supplicant is user`s responsibliy to guantee workable and freertos tcp/ip stack did not depend on it, is it right?

how to build the network framework based on freertos?

so, it seems the wpa supplicant is user’s responsibliy to guantee workable and freertos tcp/ip stack did not depend on it, is it right?
I experience some difficulty understanding your question. I am not sure what you are asking here. But let me rephrase what I said earlier: FreeRTOS+TCP implements some higher layers of the Internet protocol (ARP, DNS, DHCP, TCP, UDP). The library can be used on several different platforms, and with several different Ethernet peripherals. AWS/FreeRTOS develops and maintains this library, and it provides some network interface drivers, as an addition to the demo’s. But that is not the main focus of the project. As for the WiFi peripherals, I think that the suppliers of the hardware are very capable to provide the proper drivers. If you have more questions, please ask.