Project

General

Profile

Actions

Bug #394

closed

gps::connect with long by-id usb device

Added by François Félix Ingrand about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Low

Description

to be able to connect to

 gps::connect /dev/serial/by-id/usb-u-blox_AG_-_www.u-blox.com_u-blox_GNSS_receiver-if00 115200

I propose this "fix"...

felix@lerema:~/work/drone/gps-genom3$ git diff
diff --git a/gps.gen b/gps.gen
index b3a1013..2fd441b 100644
--- a/gps.gen
+++ b/gps.gen
@@ -294,7 +294,7 @@ component gps {
   };

   activity connect(
-    in string<64> serial = "/dev/ttyUSB0" :"Serial device",
+    in string<128> serial = "/dev/ttyUSB0" :"Serial device",
     in unsigned long baud = 115200 :"Baud rate") {
     doc "Connect to the hardware.";
     doc "";
felix@lerema:~/work/drone/gps-genom3$ 

Thanks

Actions #1

Updated by Anthony Mallet about 1 year ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF