I added functionality to get the RSSI, BER, and Cell Neighbor for reporting connection issues to M2X
Dependencies: WncControllerK64F
Diff: Socket/WncUDPSocket.h
- Revision:
- 27:2dc9461c04dc
- Parent:
- 26:81e520908460
- Child:
- 28:dceb8da78e6d
diff -r 81e520908460 -r 2dc9461c04dc Socket/WncUDPSocket.h --- a/Socket/WncUDPSocket.h Fri Mar 24 21:43:57 2017 +0000 +++ b/Socket/WncUDPSocket.h Fri Mar 24 21:50:50 2017 +0000 @@ -46,7 +46,7 @@ \param length The length of the buffer to send. \return the number of written bytes on success (>=0) or -1 on failure */ - int sendTo(Endpoint &remote, char *packet, int length); + int sendTo(WncEndpoint &remote, char *packet, int length); /** receiveFrom - receive data from the remote host. \param remote, a pointer to the endpoint (class) @@ -54,7 +54,7 @@ \param length The maximum length of the buffer. \return the number of received bytes on success (>=0) or -1 on failure */ - int receiveFrom(Endpoint &remote, char *buffer, int length); + int receiveFrom(WncEndpoint &remote, char *buffer, int length); /** Set blocking or non-blocking mode of the socket and a timeout \param blocking true for blocking mode, false for non-blocking mode.