Content originally posted in LPCWare by caprock on Sun Apr 17 09:21:58 MST 2011
Thanks - I read this & yes, these cgi have been added and the perl script has been run to set the fs data.
As Luis just pointed out, the only connection to the system io is from the "port_toggle" in the cgi file.
I seem to have a 'disconnect' from the cgi to the gpio somehow. Just did a clean/rebuild again and still refuses to work. Using the peripheral view can set/clear the led and have re-confirmed the port/bit to control.
It would seem that the fact that the GPIO & Change hot spots are causing a transmission, that the makefsdata was done correctly.
Looking at the file httpd-cgi.c I see only the cals:
HTTPD_CGI_CALL(file, "file-stats", file_stats);
HTTPD_CGI_CALL(tcp, "tcp-connections", tcp_stats);
HTTPD_CGI_CALL(net, "net-stats", net_stats);
Shouldn't I see the "port_toggle" here as well?