Medidor Online de Temperatura y Humedad de Bajo Consumo  1
Trabajo Fin de Carrera
wifly.h
Ir a la documentación de este archivo.
1 
5 #ifndef WIFLYLIB_H_
6 #define WIFLYLIB_H_
7 
8 #include <stdint.h>
9 #include <stdbool.h>
10 
11 typedef enum _WIFLY_SecurityType {
16 
17 bool WIFLY_Initialize(uint32_t uartId);
18 bool WIFLY_ConnectToWLAN(const char* ssid, WIFLY_SecurityType secType,
19  const char* password);
20 uint32_t WIFLY_Ping(char *address);
21 uint32_t WIFLY_GetIP();
22 uint8_t WIFLY_GetChannel();
23 int8_t WIFLY_GetRSSI();
24 uint32_t WIFLY_GetUptime();
25 uint8_t WIFLY_GetTxPower();
26 bool WIFLY_SetTxPower(uint8_t value);
27 bool WIFLY_Open(char *address, uint32_t port, uint8_t format,
28  const char *remote);
29 void WIFLY_Close(bool waitForClose);
30 void WIFLY_Sleep();
31 
32 #endif /* WIFLYLIB_H_ */