Pages: [1]   Go Down
Author Topic: Arduino webserver maximum urls supported  (Read 367 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48556
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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...
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 !
Logged

Pages: [1]   Go Up
Jump to: