Reading Serial Port iOS
问题 I have the following code to read and write to serial ports on iOS 10.3.3 Jailbroken iPhone 6S (I used h3lix to jailbreak): Serial.h: // // Serial.h // iOUSB // // Created by Brandon on 2018-05-21. // Copyright © 2018 XIO. All rights reserved. // #if !defined(__cplusplus) //-fmodules -fcxx-modules @import Foundation; #else #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wauto-import" #import <Foundation/Foundation.h> #pragma clang diagnostic pop #endif #define BAUD_RATE 9600