You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the document and trying to figure out what's the port path. Here is what I did: ORSSerialPortManager *portManager = [ORSSerialPortManager sharedSerialPortManager]; NSArray *availablePorts = portManager.availablePorts; NSLog (@"Available ports are: %lu", (unsigned long)[availablePorts count]);
And it returned 0 in the console.
I used matlab to double check with serailportlist("available"). And it gives me 6 ports.
Any idea what I could go wrong? Also, is there any way I can check if a serial port is connected after I did [serialPort open];?
The text was updated successfully, but these errors were encountered:
I followed the document and trying to figure out what's the port path. Here is what I did:
ORSSerialPortManager *portManager = [ORSSerialPortManager sharedSerialPortManager]; NSArray *availablePorts = portManager.availablePorts; NSLog (@"Available ports are: %lu", (unsigned long)[availablePorts count]);
And it returned 0 in the console.
I used matlab to double check with
serailportlist("available")
. And it gives me 6 ports.Any idea what I could go wrong? Also, is there any way I can check if a serial port is connected after I did
[serialPort open];
?The text was updated successfully, but these errors were encountered: