LO53 PROJECT - AP DOCUMENTATION
Project based on Indoor Positionning System
|
This file contains the function for the management of the requests sended by the map server. More...
Functions | |
int | answer_to_connection (void *cls, struct MHD_Connection *connection, const char *url, const char *method, const char *version, const char *upload_data, size_t *upload_data_size, void **con_cls) |
answer to the mapserver Http request More... | |
Variables | |
Element * | tracked_devices |
This file contains the function for the management of the requests sended by the map server.
In this file, we catch the request made by the http server, we extract the informations (mobile device mac address) then we calculage the average signal strenght of the device based on the rssi samples captured
int answer_to_connection | ( | void * | cls, |
struct MHD_Connection * | connection, | ||
const char * | url, | ||
const char * | method, | ||
const char * | version, | ||
const char * | upload_data, | ||
size_t * | upload_data_size, | ||
void ** | con_cls | ||
) |
answer to the mapserver Http request
parameters | it took many usefuls parameters as it's recommended in the microhttp library documentation |
Element* tracked_devices |