Haiku HH and serial port

cestor

Active Member
Has anyone out there got Haiku Helper to communicate through a serial port at all? Even the simple examples in the API documentation give me an error message 'undefined' e.g.
 
var port=helper.openSerialPort(controller,'/dev/cu.Repleo-CH341-00002006');
port.setDataBits(8); ----> Unhandled exception : undefined is not an object (evaluating'port.SetDataBits')
 
I saw a similar error on a thread a couple of years old which was apparently a sandbox issue and meant to be fixed...
 
 
 
 
 
 
Yes, this is a sandboxing issue (no access to /dev). No workaround available currently besides using a serial to network gateway.
 
Back
Top