USB Network Gate for Linux SDK User Guide
USB Network Gate for Linux SDK User Guide
The daemon management API. All member functions are asynchronous. The function sends request to the daemon and returns control. Once the response from ...
Sun, 20 Mar, 2022 at 3:56 PM
Establishes connection with daemon via local socket Return: Socket is ready to read/write, you should close it yourself Remarks: Use eit...
Sun, 20 Mar, 2022 at 3:56 PM
Returns path to local socket to establish connection with daemon Return: Path to socket if you use QLocalSocket, CFSocket, libdispatch, etc.
Sun, 20 Mar, 2022 at 3:56 PM
Must be called before any other non-static member. Parameters: obj - must be not null. The instance of the class inherited from EveusbEventHandler
Sun, 20 Mar, 2022 at 3:55 PM
Call onDataAvailable when there are incoming data available on socket opened via connect() or in another way (QLocalSocket, etc.). Parameters: byt...
Sun, 20 Mar, 2022 at 3:55 PM
Clears incomplete messages received from daemon. Is used if socket connection was reestablished before calling onDataAvailable.
Sun, 20 Mar, 2022 at 4:01 PM
The same as kill -SIGHUP the daemon. Return: errno error code
Sun, 20 Mar, 2022 at 4:01 PM
Requests current log level from daemon Return: errno error code Note: See onLoglevel()
Sun, 20 Mar, 2022 at 3:57 PM
Sets log level to daemon Parameters: level - Severity level (see constants from syslog.h: LOG_ERR, LOG_WARNING, etc.) Return: errno error code
Sun, 20 Mar, 2022 at 4:01 PM