I'd like to use WiFi interface in my project, but I found some problem.
Before editing my project I tried to modify the "Web Server" example project.
Because the WiFi interface needs RTX5 RTOS, first of all I changed my project migrating from RTX to RTX5 RTOS following the RTX Migration Guide.
I implemented only the "Level 1 Migration - Upgrade to RTX5 on API v1", but at the moment I think it is enough for my test.
After the migration process I compiled the project and all was ok, and also the project runs without errors.
After that I integrated the WiFi interface in my project.
Starting from the "Web Server" example:
At the end of this integration process, it was possible to compile the project and all was ok, but when I tried to test the project I found an error during the execution of the "netInitialize()" function:
The netInitialize() function fails with the NET_ERROR_CONFIG erorr.
Could someone help me to understand if I miss something in project configuration?
In the follow you can find configurations about Network and WiFi
There are about 6 different reasons that might trigger a NET_ERROR_CONFIG returned by netInitialize. You can follow this page to enable the network debug output to see which one caused the error: http://www.keil.com/support/docs/3982.htm
Thanks a lot!!!
Following your sugggestion, I enable network debug output and this is what I can see in the Debug (printf) Viewer:
000.0 SYS:Init Network 7.12.0000.0 MEM:Init MemPool 12000 bytes000.0 MEM: Limit0=9000, Limit1=6000 bytes000.0 WIFI:Init interface000.0 WIFI-ERR:Init, Bypass mode error
Can you help me to undersand what happens.
Thanks for reply.
I selected the ESP8266 because I found it in the Manage Run-Time Environment, and I supposed that all devices suggested in the Manage Run-Time Environment could support the by-pass mode.
Could you suggest some WiFi module (UART Variant) which supports bypass mode in order to be integate it in my project?
Thnks in advance,
You could take a look at the Qualcomm QCA400x WiFi module (SPI) which is supported in the pack MDK-Pack::QCA400x_WiFi_Driver.
Thanks a lot.
Unfortunally, at the moment I can communicate with the wifi module only by UART.
Do you know if there is some supported UART wifi module?
I'm not aware of support for any other WiFi modules with bypass mode at this point.
Maybe you first find a suitable WiFi module with USART interface that supports bypass mode and implement the WiFi driver. You could just implement the bypass (transparent) mode without sockets which would simplify the driver development.
giomaca : You might want to follow this thread - which asks the same question:
View all questions in Keil forum