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
IR.h@5:e4c3ce3f66a2, 2015-05-04 (annotated)
- Committer:
- mskamoona
- Date:
- Mon May 04 03:41:46 2015 +0000
- Revision:
- 5:e4c3ce3f66a2
- Parent:
- 0:c08dc0b2963b
IR, Bluetooth, Telnet are working!
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mskamoona | 0:c08dc0b2963b | 1 | //PROTOTYPES |
mskamoona | 0:c08dc0b2963b | 2 | #include "mbed.h" |
mskamoona | 0:c08dc0b2963b | 3 | #include "ReceiverIR.h" |
mskamoona | 0:c08dc0b2963b | 4 | #include "TransmitterIR.h" |
mskamoona | 0:c08dc0b2963b | 5 | |
mskamoona | 0:c08dc0b2963b | 6 | int receive(RemoteIR::Format *format, uint8_t *buf, int bufsiz, int timeout = 100); |
mskamoona | 0:c08dc0b2963b | 7 | int transmit(RemoteIR::Format format, uint8_t *buf, int bitlength, int timeout = 100); |
mskamoona | 0:c08dc0b2963b | 8 | void display_status(char *status, int bitlength); |
mskamoona | 0:c08dc0b2963b | 9 | void display_format(RemoteIR::Format format); |
mskamoona | 0:c08dc0b2963b | 10 | void display_data(uint8_t *buf, int bitlength); |