Registry / networking / rubyserial

rubyserial

JSON →
library0.6.0rbrubygemsunverified

FFI Ruby library for RS-232 serial port communication.

gem install rubyserial
INSTALL
IMPORT
SIG · RUBYSERIAL
R
rubyserial
networkingrubyv0.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Serial
require 'rubyserial'

Open a serial port, write data, and read a response.

require 'rubyserial' sp = Serial.new('/dev/ttyUSB0', 9600) sp.write('Hello') puts sp.read(10)
Debug
Known issues
gotchaRequires FFI and may need additional system libraries for serial port access.
fix
Ensure libffi is installed and you have permissions to access the serial port.
affects: all
Upgrade
Version history
0.6.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
OpenAI (training)
1
Resources
rubyserial — gem install rubyserial · libregistry