pub type SerialDevice = *mut c_void;