Webserver add command limit in arduino web server

166 views
Skip to first unread message

Konsarna

unread,
Feb 5, 2014, 6:22:52 PM2/5/14
to webd...@googlegroups.com
Hi,
I am trying to add about 17 urls in the same sketch using the webserver.addcommand() functions but I realize that not all of them can load properly is there anyway that I can do it work? 
(I am using the example of web_rgb ajax example)
thanks in advance

Ben Combee

unread,
Feb 6, 2014, 4:17:18 PM2/6/14
to webduino
See https://github.com/sirleech/Webduino/blob/master/WebServer.h#L338 -- the WebServer data structure defaults to only having room for 8 commands.  You can increase this array size in your local copy to handle more.


--
You received this message because you are subscribed to the Google Groups "Webduino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webduino+u...@googlegroups.com.
To post to this group, send email to webd...@googlegroups.com.
Visit this group at http://groups.google.com/group/webduino.
For more options, visit https://groups.google.com/groups/opt_out.

Konsarna

unread,
Feb 6, 2014, 6:43:33 PM2/6/14
to webd...@googlegroups.com
thank you now it works fine!!
Reply all
Reply to author
Forward
0 new messages