- Added messages
Fork of WiflyInterface by
Diff: Socket/UDPSocket.cpp
- Revision:
- 15:eaa1ec0e26bf
- Parent:
- 4:0bcec6272784
- Child:
- 23:cb8522185c56
diff -r 5a9561156acc -r eaa1ec0e26bf Socket/UDPSocket.cpp --- a/Socket/UDPSocket.cpp Sat Feb 20 16:39:09 2016 +0000 +++ b/Socket/UDPSocket.cpp Sat Feb 20 17:20:28 2016 +0000 @@ -34,6 +34,13 @@ return 0; } +void UDPSocket::setBaud(int baudrate) +{ + wifi->setBaud(baudrate); + wifi->exit(); + return; +} + // Server initialization int UDPSocket::bind(int port) {