The final project of Embedde class.

Dependencies:   C12832 LM75B ESP-call MMA7660

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers WIFI.h Source File

WIFI.h

00001 #ifndef _WIFI_H
00002 #define _WIFI_H
00003 
00004 #include "mbed.h"
00005 #include "ESP-call.h"
00006 
00007 extern char wifiIpAddress[16];
00008 extern char wifiSSID[1025];
00009 extern char wifiSSIDPassword[1025];
00010 extern volatile char wifiReceivedBuffer[2049];
00011 extern Semaphore semaphoreWifiHasBuffer;
00012 
00013 void wifiInit(void);
00014 void wifiConnectToAP(void);
00015 char* wifiGetIpAddress(void);
00016 void wifiInitServer(void);
00017 void wifiGenerateValueI(const char *value, int data);
00018 void wifiGenerateValueF(const char *value, float data);
00019 void wifiGenerateValueS(const char *value, const char *data);
00020 void wifiGenerateValueS(const char *value, char data[]);
00021 void wifiInitReceiveData(void);
00022 
00023 
00024 #endif