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 am trying to make arduino act as a usb host for Ardusimple rtk3b device. I am trying to establish cdc acm- connection to read the data as from virtual serial port, as I can in windows. However I get stuck when trying to run the example for cdc acm. The ACM class method SetControlLineState(3) returns 5, which is apparently not good.
I tried the USB_desc- example which worked fine, and I can see the device descriptor, configuration descriptor, interface descriptors and endpoints and they make sense.
I verified from Ardusimple that CDC-ACM is the way to go.
I tried searching for meaning for this code 5 but I cannot find any. CoPilot says
The error code 5 in the USB Host Shield 2.0 library typically indicates a “Set Address” error.
but it has been hallucinating and claiming it means other errors too, so I tend to ignore it.
Hi,
I am trying to make arduino act as a usb host for Ardusimple rtk3b device. I am trying to establish cdc acm- connection to read the data as from virtual serial port, as I can in windows. However I get stuck when trying to run the example for cdc acm. The ACM class method SetControlLineState(3) returns 5, which is apparently not good.
I tried the USB_desc- example which worked fine, and I can see the device descriptor, configuration descriptor, interface descriptors and endpoints and they make sense.
I verified from Ardusimple that CDC-ACM is the way to go.
I tried searching for meaning for this code 5 but I cannot find any. CoPilot says
but it has been hallucinating and claiming it means other errors too, so I tend to ignore it.
Any help is much appreciated.
acm_terminal.zip
Best regards,
Matti
The text was updated successfully, but these errors were encountered: