http_content configuration.
Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | CERT_FOOTER "-----END CERTIFICATE-----" |
#define | KEY_FOOTER "-----END RSA PRIVATE KEY-----" |
#define | WIFI_PASSPHRASE_LEN M2M_MAX_PSK_LEN |
#define | WIFI_SSID_LEN M2M_MAX_SSID_LEN |
Functions | |
uint32 | base64decode (char *src, uint32 len) |
char * | construct_http_response (int cid, char *req, int16_t req_sz, int16_t *sz, wifiProvisionParams *provInfo) |
uint32 | decodeLength (uint8 *buff, uint8 *lenBytes) |
uint16_t | get_content_length (char *req) |
#define CERT_FOOTER "-----END CERTIFICATE-----" |
Referenced by post_main_page().
#define KEY_FOOTER "-----END RSA PRIVATE KEY-----" |
Referenced by post_main_page().
#define WIFI_PASSPHRASE_LEN M2M_MAX_PSK_LEN |
Referenced by post_main_page().
#define WIFI_SSID_LEN M2M_MAX_SSID_LEN |
Referenced by post_main_page().
References b64_table, i, and j.
Referenced by post_main_page().
char* construct_http_response | ( | int | cid, |
char * | req, | ||
int16_t | req_sz, | ||
int16_t * | sz, | ||
wifiProvisionParams * | provInfo | ||
) |
References content_length, content_recv_sz, find_req_name(), get_content_length(), get_resp_page(), html_buff, http_data_pending_flag, logo_buff, m2m_memcpy(), not_found_html_page(), pHttpData, pHttpDataNext, and post_main_page().
Referenced by html_handler().
Referenced by post_main_page().
uint16_t get_content_length | ( | char * | req | ) |
References get_token_value().
Referenced by construct_http_response().