I'm trying to use the config_mode snip as a pattern for my own application. However, I'm not having much success. I can serve up some of the files but I must be missing a script or something because the scan never happens.
I can't see where the resource files are getting set up in the config_mode snip. In other examples, such as apsta, there is a "START_OF_HTTP_PAGE_DATABASE" in the .c file with a list of files. Also there is usually a list of file names in the $(NAME)_RESOURCE sections of the .mk file. The config_mode example has neither of these. How does the compiler know what to include?
Solved! Go to Solution.
The .c files with the functions and HTTP page database are in Wiced-SDK/Wiced/internal, named config.c and config_http_contect.c.
The make file that includes the resources should be in the Wiced-SDK/Wiced folder as Wiced.mk.
The .c files with the functions and HTTP page database are in Wiced-SDK/Wiced/internal, named config.c and config_http_contect.c.
The make file that includes the resources should be in the Wiced-SDK/Wiced folder as Wiced.mk.
Thanks, I found the remaining information in Wiced/internal/config_http_content.c