Wifly Driver
V1.0
|
Go to the source code of this file.
Functions | |
uint8_t | Udp_start (char *ssid, uint32_t AuthMode, char *passw) |
uint8_t | Udp_sendValue (char *ipAddress, uint32_t localPort, uint32_t remotePort, uint32_t value) |
int32_t | Udp_receiveValue (char *address, uint32_t localPort, uint32_t remotePort) |
int32_t Udp_receiveValue | ( | char * | address, |
uint32_t | localPort, | ||
uint32_t | remotePort | ||
) |
Send a UDP command and receive the server response.
address | Destination IP address. |
localPort | Local port number. |
remotePort | Remote port number. |
Definition at line 80 of file Udp.c.
References resp, TRUE, UDP_RECEIVE, Wifly_UDPReceive(), Wifly_WLANConnectPing(), and xMutexUdp.
uint8_t Udp_sendValue | ( | char * | ipAddress, |
uint32_t | localPort, | ||
uint32_t | remotePort, | ||
uint32_t | value | ||
) |
Send a UDP command and send the server response.
ipAddress | Destination IP address. |
localPort | Local port number. |
remotePort | Remote port number. |
value | Numerical value to send. |
Definition at line 60 of file Udp.c.
References FALSE, TRUE, UDP_SEND, UDP_SET_RESPONSE, Wifly_UDPSend(), Wifly_WLANConnectPing(), and xMutexUdp.
uint8_t Udp_start | ( | char * | ssid, |
uint32_t | AuthMode, | ||
char * | passw | ||
) |
Initialise a UDP connection parameters.
ssid | SSID connection name. |
AuthMode | Authentication mode number. |
passw | Pass phrase of the connection. |
Start Udp settings
ssid | SSID name. |
AuthMode | Authentication mode: |
passw | password |