Module tinkerforge::ip_connection
source · Expand description
The IP Connection manages the communication between the API bindings and the Brick Daemon or a WIFI/Ethernet Extension.
Structs§
- This error is raised if a disconnect request failed, because there was no connection to disconnect
- Devices send
EnumerateResponse
s when they are connected, disconnected or when an enumeration was triggered by the user using theEnumerate
method. - The IP Connection manages the communication between the API bindings and the Brick Daemon or a WIFI/Ethernet Extension. Before Bricks and Bricklets can be controlled using their API an IP Connection has to be created and its TCP/IP connection has to be established.
- The IP connection request sender is a cloneable object created by a IP connection. The sender can send requests to connected devices and can be shared across threads by cloning.
Enums§
- This error is returned if the remote’s server nonce could not be queried.
- This error is raised if a
connect
call fails. - This enum specifies the reason of a successful connection. It is generated from the Connect event receiver
- This enum is returned from the
get_connection_state
method. - This enum specifies the reason of a connections termination. It is generated from the Disconnect event receiver
- Type of enumeration of a device.
Traits§
- A trait to get an
IpConnectionRequestSender
. Implementing this trait allows a type to be used to create device handles.