Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: rover_car rover_pc supervisor watering_unit ... more
ssWiSocket Class Reference
Socket to communciate through ssWi. More...
#include <ssWiSocket.hpp>
Public Member Functions | |
| PortValue | read () |
| read the last value read through the network on such socket | |
| void | write (PortValue value) |
| write a new value to be sent through the socket | |
Static Public Member Functions | |
| static ssWiSocket * | createSocket (PortID id) |
| create a new socket | |
Detailed Description
Socket to communciate through ssWi.
It is not possible to instanciate directly a ssWiSocket, use the static method createSocket
Definition at line 19 of file ssWiSocket.hpp.
Member Function Documentation
| ssWiSocket * createSocket | ( | PortID | id ) | [static] |
create a new socket
If the network is not inizialized yet, the method returns false
- Parameters:
-
id port identifier to connect the socket with
- Returns:
- the created socket
Definition at line 24 of file ssWiSocket.cpp.
| PortValue read | ( | ) |
read the last value read through the network on such socket
- Returns:
- the read value
Definition at line 16 of file ssWiSocket.cpp.
| void write | ( | PortValue | value ) |
write a new value to be sent through the socket
- Parameters:
-
value value to be sent
Definition at line 20 of file ssWiSocket.cpp.
Generated on Tue Jul 12 2022 15:15:30 by
1.7.2