i wanted to implement httpserver in my project, i came across one example, but i have failed to understand this code as you can see in below link,
https://github.com/tonyp7/esp32-wifi-ma ... p_server.c
1. i couldnt understand what this signifies, or purpose, also this is extern means it is defined at another location,
Code: Select all
* embedded binary data */
extern const uint8_t style_css_start[] asm("_binary_style_css_start");
extern const uint8_t style_css_end[] asm("_binary_style_css_end");
extern const uint8_t jquery_gz_start[] asm("_binary_jquery_gz_start");
extern const uint8_t jquery_gz_end[] asm("_binary_jquery_gz_end");
extern const uint8_t code_js_start[] asm("_binary_code_js_start");
extern const uint8_t code_js_end[] asm("_binary_code_js_end");
extern const uint8_t index_html_start[] asm("_binary_index_html_start");
extern const uint8_t index_html_end[] asm("_binary_index_html_end");
Code: Select all
netconn_write(conn, index_html_start, index_html_end - index_html_start, NETCONN_NOCOPY);
any help would be appreciated.
Thanks!