Medidor Online de Temperatura y Humedad de Bajo Consumo
1
Trabajo Fin de Carrera
Página principal
Estructuras de Datos
Archivos
Lista de archivos
Globales
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
{
12
WIFLY_ST_WEP
= 0,
13
WIFLY_ST_WPA
,
14
WIFLY_ST_WPA2
=
WIFLY_ST_WPA
15
}
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_ */
TFC_Library
inc
wifly.h
Generado el Lunes, 3 de Junio de 2013 23:33:36 para Medidor Online de Temperatura y Humedad de Bajo Consumo por
1.8.4