Giter Club home page Giter Club logo

Comments (10)

luc-github avatar luc-github commented on August 13, 2024 1

void setModelDescription(const char *desc); function will be added, desc string will be NULL if not set

from esp32ssdp.

luc-github avatar luc-github commented on August 13, 2024

I was not aware of this section - will test and check

from esp32ssdp.

f34rdotcom avatar f34rdotcom commented on August 13, 2024

Well a new problem. I am using https://github.com/fhessel/esp32_https_server and it does not a typical Client class. This makes using ::schema() to build a schema xml block impossible.
https://github.com/fhessel/esp32_https_server/blob/f9513ac86e4c5a5b53e6e3258d1061b72cf8efab/examples/Static-Page/Static-Page.ino#L106
I would need a string pointer returned from an override for ::schema()

from esp32ssdp.

luc-github avatar luc-github commented on August 13, 2024

I think I did it for async before
, I need to check later

from esp32ssdp.

f34rdotcom avatar f34rdotcom commented on August 13, 2024

Thanks for checking. For now I just added a temp function override for schema() to return a char * so I can keep testing :)

from esp32ssdp.

luc-github avatar luc-github commented on August 13, 2024

using async I was building my own string for the webserver handler out of SSDP library actually :
https://github.com/luc-github/ESP32SSDP/blob/master/ESP32SSDP.cpp#L64-L106

I think a rewrite to implemente other featrure request will need to use same mecanism but this time inside of SSDP library and a char * to static builded string will be the way I will go

from esp32ssdp.

luc-github avatar luc-github commented on August 13, 2024

ok found the entry in doc - not sure why it is not in this schema, it is the ported schema from esp8266 SSDP library - will add it and corresponding function this week, still travelling now and not easy to setup env for testing

from esp32ssdp.

f34rdotcom avatar f34rdotcom commented on August 13, 2024

from esp32ssdp.

luc-github avatar luc-github commented on August 13, 2024

in 0c30711

from esp32ssdp.

f34rdotcom avatar f34rdotcom commented on August 13, 2024

Looks good. tested.

from esp32ssdp.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.