software architecture questions
Posted: Wed May 30, 2018 11:52 pm
Hi,
My requirement is to have web server running to ESP32.
I can run basic JavaScript or advance angular web application.
I can configure my Wifi access point with DHCP IP address enabled either via blue tooth or some other method.
My esp32 can server web pages from SD card as well.
I have external ram also available.
How can i serve web pages from external ram. FATFS mount on external ram?
FATFS seems slow for random access file. Do we better File system libray for fast data access to serve web pages for web server.
I have another ARM STM32 device.
esp32 can communicate via serial or Can bus to ARM STM32 device which contains c++ firmware to communication.
UDP socket is also running to receive Can packet from ARM STM32 device and send over UDP over wifi.
I can configure UDP or TCP port and destination address for esp32 as sender socket.
Is there any built in board and library for rapid application development, I can avoid writing myself low level c/c++ code HttpServer/WebServer.
I can able to update esp32 firmware over the air and ARM STM32 firmware as well.
Can some one share experience of using CAN bus on STM32 and Esp32 and comparison.
1- does below software libraries meet my requirements above?
which suite best?
http://www.espruino.com/ESP32
2-
https://github.com/nkolban/duktape-esp32
3-
ESP32 Arduino HTTP Server: Serving HTML and JavaScript
4-
Node JS server on esp32 ?
5-
https://mongoose-os.com/
6-
C/c++
https://github.com/espressif/esp-idf
so far i have experience with esp-idf which is powerful and low-level and more control. but need to implement all stack/libraries such as HTTP(SSL) and transfer file over the air for update firmware and update web files.
Kindly do reply with your thoughts. I am sure many people have some experience to share in these areas.
Thanks,
Naeem
My requirement is to have web server running to ESP32.
I can run basic JavaScript or advance angular web application.
I can configure my Wifi access point with DHCP IP address enabled either via blue tooth or some other method.
My esp32 can server web pages from SD card as well.
I have external ram also available.
How can i serve web pages from external ram. FATFS mount on external ram?
FATFS seems slow for random access file. Do we better File system libray for fast data access to serve web pages for web server.
I have another ARM STM32 device.
esp32 can communicate via serial or Can bus to ARM STM32 device which contains c++ firmware to communication.
UDP socket is also running to receive Can packet from ARM STM32 device and send over UDP over wifi.
I can configure UDP or TCP port and destination address for esp32 as sender socket.
Is there any built in board and library for rapid application development, I can avoid writing myself low level c/c++ code HttpServer/WebServer.
I can able to update esp32 firmware over the air and ARM STM32 firmware as well.
Can some one share experience of using CAN bus on STM32 and Esp32 and comparison.
1- does below software libraries meet my requirements above?
which suite best?
http://www.espruino.com/ESP32
2-
https://github.com/nkolban/duktape-esp32
3-
ESP32 Arduino HTTP Server: Serving HTML and JavaScript
4-
Node JS server on esp32 ?
5-
https://mongoose-os.com/
6-
C/c++
https://github.com/espressif/esp-idf
so far i have experience with esp-idf which is powerful and low-level and more control. but need to implement all stack/libraries such as HTTP(SSL) and transfer file over the air for update firmware and update web files.
Kindly do reply with your thoughts. I am sure many people have some experience to share in these areas.
Thanks,
Naeem