Click or drag to resize

libsimpleio Methods

The libsimpleio type exposes the following members.

Methods
 NameDescription
Public methodStatic memberADC_close Close a Linux IIO A/D converter input device.
Public methodStatic memberADC_get_name Get the subsystem name for the specified Linux IIO A/D converter device.
Public methodStatic memberADC_open Open a Linux IIO A/D converter input device.
Public methodStatic memberADC_read Read a Linux IIO A/D converter input device.
Public methodStatic memberDAC_close Close a Linux IIO D/A converter output device.
Public methodStatic memberDAC_get_name Get the subsystem name for the specified Linux IIO D/A converter device.
Public methodStatic memberDAC_open Open a Linux IIO D/A converter output device.
Public methodStatic memberDAC_write Write to a Linux IIO D/A converter output device.
Public methodStatic memberEVENT_close Close an epoll event dispatcher.
Public methodStatic memberEVENT_modify_fd Modify a file registration.
Public methodStatic memberEVENT_open Open an epoll event dispatcher.
Public methodStatic memberEVENT_register_fd Register a file descriptor with an epoll event dispatcher.
Public methodStatic memberEVENT_unregister_fd Unregister a file from an epoll dispatcher.
Public methodStatic memberEVENT_wait Wait for events from an epoll dispatcher.
Public methodStatic memberGPIO_chip_info Get GPIO chip information.
Public methodStatic memberGPIO_close Close a Linux GPIO pin device.
Public methodStatic memberGPIO_configure Configure a Linux GPIO pin.
Public methodStatic memberGPIO_line_close Close a single GPIO line.
Public methodStatic memberGPIO_line_event Read an edge trigger event from single GPIO line.
Public methodStatic memberGPIO_line_info Get GPIO line information.
Public methodStatic memberGPIO_line_open Open a single GPIO line.
Public methodStatic memberGPIO_line_read Read the state of a single GPIO line.
Public methodStatic memberGPIO_line_write Write the state of a single GPIO line.
Public methodStatic memberGPIO_open Open a Linux GPIO pin device.
Public methodStatic memberGPIO_read Read a Linux GPIO pin.
Public methodStatic memberGPIO_write Write a Linux GPIO pin.
Public methodStatic memberHIDRAW_close Close a Linux raw HID.
Public methodStatic memberHIDRAW_get_info Get Linux raw HID bus type, vendor ID, and product ID.
Public methodStatic memberHIDRAW_get_name Get Linux raw HID name string.
Public methodStatic memberHIDRAW_open1 Open a Linux raw HID device by device node name.
Public methodStatic memberHIDRAW_open2 Open a Linux raw HID device by vendor ID and product ID.
Public methodStatic memberHIDRAW_open3 Open a Linux raw HID device by vendor ID and product ID and serial number.
Public methodStatic memberHIDRAW_receive Get a 64-byte report from a Linux HID.
Public methodStatic memberHIDRAW_send Send a 64-byte report to a Linux HID.
Public methodStatic memberI2C_close Close a Linux I2C bus controller device.
Public methodStatic memberI2C_open Open a Linux I2C bus controller device.
Public methodStatic memberI2C_transaction Send bytes to and/or receive bytes from an I2C slave device.
Public methodStatic memberIPV4_ntoa Convert an IPv4 address to a dotted notation string (e.g. 1.2.3.4).
Public methodStatic memberIPV4_resolve Resolve a domain name to an IPv4 host address.
Public methodStatic memberLINUX_closelog Close the connection to the syslog service.
Public methodStatic memberLINUX_command Execute a shell command string.
Public methodStatic memberLINUX_detach Detach the process and run it in the background.
Public methodStatic memberLINUX_drop_privileges Drop process privileges to those of the specified user.
Remarks
Only a process running at superuser privilege is allowed to drop privileges.
Public methodStatic memberLINUX_errno Fetch the value of errno.
Public methodStatic memberLINUX_openlog Open a connection to the syslog service.
Public methodStatic memberLINUX_poll Wait for an event on one or more files.
Public methodStatic memberLINUX_strerror Retrieve the error message for a particular errno error code.
Public methodStatic memberLINUX_syslog Send a message to the syslog service.
Public methodStatic memberLINUX_usleep Sleep for the specified number of microseconds.
Public methodStatic memberPWM_close Close a Linux PWM output device.
Public methodStatic memberPWM_configure Configure a Linux PWM output device.
Public methodStatic memberPWM_open Open a Linux PWM output device.
Public methodStatic memberPWM_write Set a Linux PWM output device duty cycle.
Public methodStatic memberSERIAL_close Close a Linux serial port device.
Public methodStatic memberSERIAL_open Open a Linux serial port device.
Public methodStatic memberSERIAL_receive Receive data from a Linux serial port device.
Public methodStatic memberSERIAL_send Send data to a Linux serial port device.
Public methodStatic memberSPI_close Close a Linux SPI device.
Public methodStatic memberSPI_open Open a Linux SPI device.
Public methodStatic memberSPI_transaction Send bytes to and/or receive bytes from a Linux SPI device.
Public methodStatic memberSTREAM_decode_frame Decode a frame.
Public methodStatic memberSTREAM_encode_frame Encode a frame.
Public methodStatic memberSTREAM_receive_frame Receive an encoded frame.
Public methodStatic memberSTREAM_send_frame Send an encoded frame.
Public methodStatic memberTCP4_accept Start TCP server and wait for a single connection.
Public methodStatic memberTCP4_close Close a TCP connection.
Public methodStatic memberTCP4_connect Connect to a TCP server.
Public methodStatic memberTCP4_receive Receive bytes from TCP peer.
Public methodStatic memberTCP4_send Send bytes to TCP peer.
Public methodStatic memberTCP4_server Start a TCP server and fork for each connection.
Public methodStatic memberUDP4_close Close a UDP socket.
Public methodStatic memberUDP4_open Open a UDP socket.
Public methodStatic memberUDP4_receive Receive a UDP datagram.
Public methodStatic memberUDP4_send Send a UDP datagram.
Public methodStatic memberWATCHDOG_close Close a Linux watchdog timer device.
Public methodStatic memberWATCHDOG_get_timeout Query a Linux watchdog timer device.
Public methodStatic memberWATCHDOG_kick Reset the watchdog timer.
Public methodStatic memberWATCHDOG_open Open a Linux watchdog timer device.
Public methodStatic memberWATCHDOG_set_timeout Change the watchdog timer period.
Top
See Also