Wifly Driver  V1.0
Functions
Arpalab.h File Reference
This graph shows which files directly or indirectly include this file:

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)
 

Function Documentation

int32_t Arpalab_receiveValue ( char *  dnsAddress)

Send a HTTP command an Get a random value.

Parameters
dnsAddressDestination DNS or IP address.
Returns
Returns whether the transmission was successful. SUCCESS = TRUE, ERROR = FALSE.

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.

Here is the call graph for this function:

uint8_t Arpalab_sendValue ( char *  dnsAddress,
uint32_t  id,
char *  app,
uint32_t  value 
)

Send a HTTP command and receive the server response.

Parameters
dnsAddressDestination DNS or IP address.
idInformation id.
appName of the app.
valueNumerical value to send.
Returns
Returns whether the transmission was successful. SUCCESS = TRUE, ERROR = FALSE.

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.

Here is the call graph for this function:

uint8_t Arpalab_start ( char *  ssid,
uint32_t  AuthMode,
char *  passw 
)

Arpalab start Wifly driver and connection parameters.

Parameters
ssidSSID connection name.
AuthModeAuthentication mode number.
passwPass phrase of the connection.
Returns
Returns whether the initialisation was successful. SUCCESS = TRUE, ERROR = FALSE.

Start Arpalab settings

Parameters
ssidSSID name.
AuthModeAuthentication mode:
passwpassword
Returns
TRUE, FALSE

Definition at line 43 of file Arpalab.c.

References FALSE, NULL, and xMutexArpalab.