Click or drag to resize

libsimpleio Class

Wrapper class for the Linux Simple I/O Library libsimpleio.so
Inheritance Hierarchy
SystemObject
  IO.Bindingslibsimpleio

Namespace: IO.Bindings
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.356.1
Syntax
C#
public static class libsimpleio

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
Fields
 NameDescription
Public fieldStatic memberGPIO_DIRECTION_INPUT Input data direction.
Public fieldStatic memberGPIO_DIRECTION_OUTPUT Out data direction.
Public fieldStatic memberGPIO_DRIVER_OPENDRAIN Open drain (sink only) output driver.
Public fieldStatic memberGPIO_DRIVER_OPENSOURCE Open source (source only) output driver
Public fieldStatic memberGPIO_DRIVER_PUSHPULL Push-pull (source and sink) output driver.
Public fieldStatic memberGPIO_EDGE_BOTH Interrupt on both edges.
Public fieldStatic memberGPIO_EDGE_FALLING Interrupt on falling edge.
Public fieldStatic memberGPIO_EDGE_NONE Interrupts are disabled.
Public fieldStatic memberGPIO_EDGE_RISING Interrupt on rising edge.
Public fieldStatic memberGPIO_EVENT_REQUEST_BOTH Enable GPIO input interrupt on both edges.
Public fieldStatic memberGPIO_EVENT_REQUEST_FALLING Enable GPIO input interrupt on falling edge.
Public fieldStatic memberGPIO_EVENT_REQUEST_NONE Disable GPIO input interrupt.
Public fieldStatic memberGPIO_EVENT_REQUEST_RISING Enable GPIO input interrupt on rising edge.
Public fieldStatic memberGPIO_LINE_INFO_ACTIVE_LOW GPIO line is configured as active low (inverted).
Public fieldStatic memberGPIO_LINE_INFO_KERNEL GPIO line is being used by the kernel.
Public fieldStatic memberGPIO_LINE_INFO_OPEN_DRAIN GPIO line is configured as open drain (current sink only).
Public fieldStatic memberGPIO_LINE_INFO_OPEN_SOURCE GPIO line is configured as open source (current source only).
Public fieldStatic memberGPIO_LINE_INFO_OUTPUT GPIO line is configured as an output.
Public fieldStatic memberGPIO_LINE_REQUEST_ACTIVE_HIGH Select GPIO line polarity active high (normal).
Public fieldStatic memberGPIO_LINE_REQUEST_ACTIVE_LOW Select GPIO line polarity active low (inverted).
Public fieldStatic memberGPIO_LINE_REQUEST_INPUT Select GPIO line direction input.
Public fieldStatic memberGPIO_LINE_REQUEST_OPEN_DRAIN Select GPIO line driver open drain (current sink only).
Public fieldStatic memberGPIO_LINE_REQUEST_OPEN_SOURCE Select GPIO line driver open source (current source only).
Public fieldStatic memberGPIO_LINE_REQUEST_OUTPUT Select GPIO line direction output.
Public fieldStatic memberGPIO_LINE_REQUEST_PUSH_PULL Select GPIO line driver push-pull (current source and sink).
Public fieldStatic memberGPIO_POLARITY_ACTIVEHIGH Active high (normal) polarity.
Public fieldStatic memberGPIO_POLARITY_ACTIVELOW Active low (inverted) polarity.
Public fieldStatic memberINADDR_ANY IPv4 address for binding to all network interfaces.
Public fieldStatic memberINADDR_BROADCAST IPv4 broadcast address.
Public fieldStatic memberINADDR_LOOPBACK IPv4 address for binding to the loopback interface (aka localhost).
Public fieldStatic memberLOG_ALERT Action must be taken immediately.
Public fieldStatic memberLOG_AUTH Security/authorization messages.
Public fieldStatic memberLOG_AUTHPRIV Securit/authorization messages.
Public fieldStatic memberLOG_CONS Write directly to the system console if there is an error while sending to the system logger.
Public fieldStatic memberLOG_CRIT Critical condition.
Public fieldStatic memberLOG_CRONcron daemon messages.
Public fieldStatic memberLOG_DAEMON System daemons.
Public fieldStatic memberLOG_DEBUG Debug message.
Public fieldStatic memberLOG_EMERG System is unusable.
Public fieldStatic memberLOG_ERR Error condition.
Public fieldStatic memberLOG_FTPFTP daemon messages.
Public fieldStatic memberLOG_INFO Informational message.
Public fieldStatic memberLOG_KERN Kernel messages.
Public fieldStatic memberLOG_LOCAL0 Reserved for local use.
Public fieldStatic memberLOG_LOCAL1 Reserved for local use.
Public fieldStatic memberLOG_LOCAL2 Reserved for local use.
Public fieldStatic memberLOG_LOCAL3 Reserved for local use.
Public fieldStatic memberLOG_LOCAL4 Reserved for local use.
Public fieldStatic memberLOG_LOCAL5 Reserved for local use.
Public fieldStatic memberLOG_LOCAL6 Reserved for local use.
Public fieldStatic memberLOG_LOCAL7 Reserved for local use.
Public fieldStatic memberLOG_LPR Line printer subsystem
Public fieldStatic memberLOG_MAIL Mail system.
Public fieldStatic memberLOG_NDELAY Open the connection immediately. Do not wait until syslog() is called for the first time.
Public fieldStatic memberLOG_NEWS Network news subsystem
Public fieldStatic memberLOG_NOTICE Normal but significant condition.
Public fieldStatic memberLOG_NOWAIT Don't wait for child processes that may have been created while logging the message. (Not applicable to glibc.)
Public fieldStatic memberLOG_ODELAY Do not open the connection immediately. Wait until syslog() is called for the first time.
Public fieldStatic memberLOG_PERROR Also log the message to stderr.
Public fieldStatic memberLOG_PID Include the caller's PID (process ID) with each message.
Public fieldStatic memberLOG_PROGNAME Use the program name for the identity string.
Public fieldStatic memberLOG_SYSLOG Messages generated internally by syslogd
Public fieldStatic memberLOG_USER Random user-level messages.
Public fieldStatic memberLOG_UUCP UUCP subsystem
Public fieldStatic memberLOG_WARNING Warning condition.
Public fieldStatic memberMSG_DONTROUTE Don't use a gateway to send out the packet, send to hosts only on directly connected networks.
Public fieldStatic memberMSG_DONTWAIT Enables nonblocking operation; if the operation would block, EAGAIN or EWOULDBLOCK is returned.
Public fieldStatic memberMSG_MORE The caller has more data to send. This flag informs the kernel to package all of the data sent in calls with this flag set into a single datagram which is transmitted only when a call is performed that does not specify this flag.
Public fieldStatic memberPOLLERR An error occurred.
Public fieldStatic memberPOLLHUP Peer closed connection.
Public fieldStatic memberPOLLIN There is data to read.
Public fieldStatic memberPOLLNVAL File descriptor is invalid.
Public fieldStatic memberPOLLOUT Writing is now possible.
Public fieldStatic memberPOLLPRI There is urgent data to read.
Public fieldStatic memberPWM_POLARITY_ACTIVEHIGH Configure the PWM output as active high (normal).
Public fieldStatic memberPWM_POLARITY_ACTIVELOW Configure the PWM output as active low (inverted).
Public fieldStatic memberSERIAL_PARITY_EVEN Request even parity checking.
Public fieldStatic memberSERIAL_PARITY_NONE Disable parity checking.
Public fieldStatic memberSERIAL_PARITY_ODD Request odd parity checking.
Public fieldStatic memberSPI_AUTO_CS Use hardware slave select.
Top
See Also