Wifly Driver
V1.0
|
Go to the source code of this file.
Functions | |
uint8_t | Tcp_start (char *ssid, uint32_t AuthMode, char *passw) |
uint8_t | Tcp_sendValue (char *ipAddress, uint32_t remotePort, uint32_t value) |
int32_t | Tcp_receiveValue (char *address, uint32_t remotePort) |
int32_t Tcp_receiveValue | ( | char * | address, |
uint32_t | remotePort | ||
) |
Send a TCP command and receive the server response.
address | destination IP address. |
remotePort | remote port number. |
Definition at line 80 of file Tcp.c.
References resp, TCP_RECEIVE, TRUE, Wifly_TCPReceive(), Wifly_WLANConnectPing(), and xMutexTcp.
uint8_t Tcp_sendValue | ( | char * | ipAddress, |
uint32_t | remotePort, | ||
uint32_t | value | ||
) |
Send a TCP command and send the server response.
ipAddress | destination IP address. |
remotePort | remote port number. |
value | numerical value to send. |
Definition at line 60 of file Tcp.c.
References FALSE, TCP_SEND, TCP_SET_RESPONSE, TRUE, Wifly_TCPSend(), Wifly_WLANConnectPing(), and xMutexTcp.
uint8_t Tcp_start | ( | char * | ssid, |
uint32_t | AuthMode, | ||
char * | passw | ||
) |
Initialise a TCP connection parameters.
ssid | SSID connection name. |
AuthMode | authentication mode number. |
passw | pass phrase of the connection. |
Start Tcp settings
ssid | SSID name. |
AuthMode | Authentication mode: |
passw | password |