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