I have read the following documentation regarding wifi interface and external wifi component:
Basically i have a good undersatnding on how to make use of ESP8266-01 with any board, i have succesfully used NUCLEO-L152 board with ESP266-01 with this example:
Right, so far so good. The thing is if a newbie mbed os5 user like me tries to use a different “component” its a bit confusing just by reading the documentation, i will put an example.
If you read the following sentence in the docs (https://os.mbed.com/docs/mbed-os/v5.15/apis/wi-fi.html#wi-fi-example):
This program scans for Wi-Fi access points in the area. There are multiple Wi-Fi components that implement the WiFiInterface class. The example below uses the ESP8266Interface and OdinWiFiInterface.
The ESP8266Interface uses AT commands over serial interface to connect to an external Wi-Fi device. The OdinWiFiInterface provides an Ethernet-like driver to the Mbed OS network stack. The network stack uses the driver to connect to Wi-Fi:
Is it so? I am surprised specifically about the part that says " There are multiple Wi-Fi components that implement the WiFiInterface class." Which ones? I can only see ESP8266, out-of-the-box.
So where are the components available in this list (https://os.mbed.com/components/?Communication=WiFi) in mbes os5?
For example how can we add the following component to an mbed os5 program:
Also if we need to type our own driver, is there a guide on how-to to speed up the development of it?
EDIT: I have seen the following :
Is this the way?