Skip to content

STM32F103C8 Webserver Taking Serial WiFi input from ESP8266 AT Command  #2

@ceewanna

Description

@ceewanna

I am looking for a webserver library to be used for STM32F103C8 under Arduino platform. I have had it serially communicating with ESP8266/ESP-01S via Serial2. I tested by calling its IP address and there was http text going into Serial2 like this.

+IPD,0,366:GET /test/gpio?sensitivity=2.2 HTTP/1.1
Host: 192.168.1.185
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive
Upgrade-Insecure-Requests: 1

There are a few resources on the internet write code to take the above further but I think it would be better to have a proper library for that. What I learnt was we would extract uri/url from GET and process accordingly.

I have looked into Arduino's ESP8266WebServer but it's way to too complicated for me. The other resource https://github.com/khoih-prog/ESP8266_AT_WebServer seems to good but somehow didn't work with incomplete code or errors on some memcpy.

So essentially I wonder if your webserver could be adopted for my work. I am no expert in webserver but just know some basic coding. I still have no idea how those serial text will be fed to a webserver library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions