|
Lucon SDK 1.0.7
|
Typedefs | |
| typedef void(* | LuconHintCallback) (const char *, LuconHintLevel level, const LuconHandle caller) |
| Signature of a callback function to receive hints from a Lucon module. | |
Functions | |
| LuconResult | LUCON_ConnectionSetReadCallback (LuconHandle handle, const LuconStringCallback callback) |
Set a callback function to be executed after the connection received data from the device. | |
| LuconResult | LUCON_ConnectionSetWriteCallback (LuconHandle handle, const LuconStringCallback callback) |
Set a callback function to be executed after data was sent over the connection given by handle. | |
| typedef void(* LuconHintCallback) (const char *, LuconHintLevel level, const LuconHandle caller) |
Signature of a callback function to receive hints from a Lucon module.
Hints are string messages which may be sent to the host by Lucon modules independent of the hosts requests
|
extern |
Set a callback function to be executed after the connection received data from the device.
In case of a streaming connection like RS232, the callback execution is delayed, until either the received data forms a valid Lucon message according to the protocol or until the internal receive-buffer is filled.
| handle | A handle to a connection |
| callback | Pointer to the callback function to be used. NULL for deregistration |
|
extern |
Set a callback function to be executed after data was sent over the connection given by handle.
| handle | A handle to a connection |
| callback | Pointer to the callback function to be used. NULL for deregistration. |