For Wifi personal security mode. It is always cumbersome to change the password whenever there is a breach in the network. and even more annoying is to distribute the passwords to the clients/guests. WifiFlexManager is a project that can change the password (with a random predefined length string) whenever the admin sends a specific IR code (through android app) and can retrieve the current password or the connected users (Through Bluetooth screen). So as a client who wants to get connected to the router, you only need to point your phone's IR towards the mbed and press a button, and the current password will be shown at your phone's screen.

Dependencies:   EthernetInterface HTTPServer RemoteIR SDFileSystem mbed-rpc mbed-rtos mbed

db.h

Committer:
mskamoona
Date:
2015-05-04
Revision:
5:e4c3ce3f66a2
Parent:
0:c08dc0b2963b

File content as of revision 5:e4c3ce3f66a2:

#include "mbed.h"

void db_get_tuple(FILE *fread, char *id_str, char *name_str, char *code_str, char *bitlength, char *format);
void db_print_all(FILE *fread);
void db_insert_tuple(char *new_name, char *new_code, char *bitlength, char *format);
void db_find_tuple(int id, char *name, char *code, char *bitlength, char *format);