Go Down

Topic: Arduino webserver maximum urls supported (Read 447 times) previous topic - next topic

konsarna

Hi,
I am using arduino ethernet shield and I am running a sketch that  needs about 17 urls to work as I want.(actually I use 4 sensors and I want them to refresh and do a couple of things more).To achieve that I use the command webserver.addcommand() but it seems that the arduino cannot support more than some urls (maybe 8 ).Does anybody have a clue about it or what should I do to make it work my way?
thanks

PaulS

Quote
Does anybody have a clue about it or what should I do to make it work my way?

Yes. Fix your code. If you need help, hiding it isn't the way...

konsarna

xoxoxoxo PaulS
I found what was the problem.In the Webserver.h library the command
m_commands[8];
has given by default 8 commands only.I changed to the number I wanted and now I can have as many urls as I want !

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy