This is the official Serial Port plugin for ZPE.
This library was among the first I developed for ZPE, but it fell into disrepair.
The plugin provides support for listing, opening and writing to serial ports.
Place zpe.lib.serial.jar in your ZPE native-plugins folder and restart ZPE.
You can also download with the ZULE Package Manager by using:
zpe --zule install zpe.lib.serial.jar
Full documentation, examples and API reference are available here:
View the complete documentation
import "zpe.lib.serial"
ports = list_serial_ports()
for (p in ports)
print(p->get_name())
end for
port = ports[0]
port->open()
port->write()
- Uses jSerialComm internally.
- Requires permission level 3 for port operations.
