Microchip® Advanced Software Framework

http_content.h File Reference

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().

uint32 base64decode ( char *  src,
uint32  len 
)

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 
)
uint32 decodeLength ( uint8 buff,
uint8 lenBytes 
)

References i, and length.

Referenced by post_main_page().

uint16_t get_content_length ( char *  req)

References get_token_value().

Referenced by construct_http_response().