Serialio

SUPPORT

Unix Error Numbers

#define EPERM 1 /* Not super-user */ #define ENOENT 2 /* No such file or directory */ #define ESRCH 3 /* No such process */ #define EINTR 4 /* Interrupted system call */ #define EIO 5 /* I/O error */ #define ENXIO 6 /* No such device or address */ #define E2BIG 7 /* Arg list too long */ #define ENOEXEC 8 /* Exec format error */ #define EBADF 9 /* Bad file number */ #define ECHILD 10 /* No children */ #define EAGAIN 11 /* No more processes */

Read More »

SerialPort Install Notes

The Java Tool For Serial PortsVersion 6.1WinXP/2K/NTx86/98/95, OS/2, Mac PPC OS9/OSX,Solaris Sparc/x86, Linux x86/ARM, FreeBSD x86, HP/UX PA-RISC, SGI IRIX MIPS, IBM AIX PPC, SCO UnixWare IA32, Compaq Tru64 Alpha, Novell Netware, WinCE MIPS/SH3/SH4/ARM, EPOC32 ARM, PocketPC 2002 MIPS/SH3/SH4/ARM Java compatability Note This version was compiled with JDK 1.4.0. Due to enhancements in JDK 1.4.0, certain older code may not run as expected when run on older versions of the Java VM (1.1.8 in particular). If you plan to run on JDK 1.1.8 use the Serialio.jar in the ../Core/Jars/JDK118 folder.

Read More »

SerialPort Power Management Examples

SerialPort provides power management for PCMCIA and CF cards.* This allows you to maximize battery life by minimizing the power consumption of your application. Using the power management features is very simple. Below, you’ll find a couple of example snippets that demonstrate SerialPort’s power management capabilities. Example 1 — Querying the state of a particular card slot: int slot = choiceSlot.getSelectedIndex();int pMode = SerialPortLocal.getPowerMode(slot); Example 2 — Setting the card state to standby or active: int pMode = 1;if (cbStandby.getState()) pMode = 0;int slot = choiceSlot.getSelectedIndex();SerialPortLocal.setPowerMode(slot, pMode); *Not supported on all platforms

Read More »

About Java SerialPort

SerialPort is the world’s first (since 1996), and still foremost Java product for serial ports. SerialPort provides highly flexible control of serial ports from your Java application.SerialPort is a high-performance class that also provides low-level serial port control. If your device plugs into a serial port—on or off the Internet—it is almost certain that you can use SerialPort to communicate with it. Applets To implement applet support, you must create a ‘trusted’ applet. If you’re interested in creating trusted applets, ask about our Termlet Package which has the source code

Read More »

SerialPort Version Changelog

Changes for version 9.6-9.7 MacOS M1 Apple Silicon support Windows SerGetPortListReg method gets ports from the registry for devices not showing in the Windows Device Manager. Changes for version 9.5-9.6 Windows Server 2022 Changes for version 9.3-9.5 Support Windows 11 Changes for version 9.2-9.3 Support Windows Server 2019 Changes for version 9.1-9.2 Linux x86 serGetPortList support, aarch64 architecture, ttyUSB  Changes for version 9.0-9.1 Support Windows Server 2016 Changes for version 8.9-9.0 Support Raspberry Pi-3 (LuxArm 32-bit)Support ODROID (in RPi-3 package – LuxArm 64-bit) Changes for version 8.8-8.9 Support Windows 10 Changes

Read More »

The difference between SerialPort and javax.comm.SerialPort

People frequently ask if SerialPort provides support for javax.comm.SerialPort. Yes, absolutely. This information will help you determine if you wish to use the superior SerialPort API directly, or the javax.comm.SerialPort API. SerialPort provides maximum flexibility (evident by the fact that javax.comm.SerialPort is implemented entirely using SerialPort). The SerialPort API was shipping commercially for about 18 months before Sun introduced javax.comm.SerialPort. As diagrammed below, the Serialio.com implementation of javax.comm.SerialPort was built completely using the SerialPort API and is based on the Comm API 2.0 (the first release in spite of the

Read More »