pub type SerialServiceEventCallback = Option<unsafe extern "C" fn(SerialServiceEvent, *mut c_void) -> u16>;