Wifly Driver
V1.0
|
Go to the source code of this file.
Functions | |
uint8_t | Arpalab_start (char *ssid, uint32_t AuthMode, char *passw) |
uint8_t | Arpalab_sendValue (char *dnsAddress, uint32_t id, char *app, uint32_t value) |
int32_t | Arpalab_receiveValue (char *dnsAddress) |
int32_t Arpalab_receiveValue | ( | char * | dnsAddress | ) |
Send a HTTP command an Get a random value.
dnsAddress | Destination DNS or IP address. |
Definition at line 80 of file Arpalab.c.
References GET_RECEIVE, IP_PROTO, IP_REMOTE, resp, string, Wifly_HTTPReceive(), Wifly_WLANConnectPing(), WLAN_PING_CHECK, and xMutexArpalab.
uint8_t Arpalab_sendValue | ( | char * | dnsAddress, |
uint32_t | id, | ||
char * | app, | ||
uint32_t | value | ||
) |
Send a HTTP command and receive the server response.
dnsAddress | Destination DNS or IP address. |
id | Information id. |
app | Name of the app. |
value | Numerical value to send. |
Definition at line 62 of file Arpalab.c.
References FALSE, GET_SEND, IP_PROTO, IP_REMOTE, Wifly_getIp(), Wifly_HTTPSend(), Wifly_WLANConnectPing(), WLAN_PING_CHECK, and xMutexArpalab.
uint8_t Arpalab_start | ( | char * | ssid, |
uint32_t | AuthMode, | ||
char * | passw | ||
) |
Arpalab start Wifly driver and connection parameters.
ssid | SSID connection name. |
AuthMode | Authentication mode number. |
passw | Pass phrase of the connection. |
Start Arpalab settings
ssid | SSID name. |
AuthMode | Authentication mode: |
passw | password |
Definition at line 43 of file Arpalab.c.
References FALSE, NULL, and xMutexArpalab.