LO53 PROJECT - AP DOCUMENTATION
Project based on Indoor Positionning System
Functions | Variables
/home/junicode/Documents/LO53_Project/LO53_AP_Development/http_deamon.c File Reference

This file contains the function for the management of the requests sended by the map server. More...

#include "http_deamon.h"
#include "pcap-thread.h"
Include dependency graph for http_deamon.c:

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

Elementtracked_devices
 

Detailed Description

This file contains the function for the management of the requests sended by the map server.

Author
Zeufack Arnel - Member of an LO53 group-project (Other Members: TONY DUONG - YVON MBOUGUEM - JOEL WABO)
Date
15 Juin 2016

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

Function Documentation

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

Returns
it returns an integer providing the status of the response
Parameters
parametersit took many usefuls parameters as it's recommended in the microhttp library documentation

Variable Documentation

Element* tracked_devices