Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RC5+ compatibility #38

Open
ik8vrq opened this issue May 27, 2019 · 6 comments
Open

RC5+ compatibility #38

ik8vrq opened this issue May 27, 2019 · 6 comments

Comments

@ik8vrq
Copy link

ik8vrq commented May 27, 2019

Hi,

it seems to me that the new RC5+ device from Elitech is not backward compatible with RC5.
It shows itself as a hidraw device (ad as mass storage device as well) and not like a ttyUSBn serial port anymore.

Any chance for a new version able to exchange data with this device?

Regards.

Angelo

@imre84
Copy link

imre84 commented Feb 17, 2021

Hello, would a pcapng capture file from an RC-5+ device help you developing this feature?

@ulikoehler
Copy link

If that would help, I could also provide packet capture etc for RC-5+.

@jamesyoungman
Copy link

Could you describe the reason for the lack of support? I have (mistakenly, I guess) bought an RC5+ and am happy to help with implementation. What is needed?

@FrankRay78
Copy link

The RC-5+ no longer uses a USB serial port, rather implements the USB HID interface class for issuing commands/receiving reports. Communication is now more complicated compared to RC-4/5 devices. Here is an example of the USB HID interface I see when plugging in my RC-5+ device:

          ===>HID Descriptor<===
bLength:                           0x09
bDescriptorType:                   0x21
bcdHID:                          0x0111
bCountryCode:                      0x21
bNumDescriptors:                   0x01
bDescriptorType:                   0x22 (Report Descriptor)
wDescriptorLength:               0x001B

          ===>Endpoint Descriptor<===
bLength:                           0x07
bDescriptorType:                   0x05
bEndpointAddress:                  0x82  -> Direction: IN - EndpointID: 2
bmAttributes:                      0x03  -> Interrupt Transfer Type
wMaxPacketSize:                  0x0040 = 0x40 bytes
bInterval:                         0x01

          ===>Endpoint Descriptor<===
bLength:                           0x07
bDescriptorType:                   0x05
bEndpointAddress:                  0x02  -> Direction: OUT - EndpointID: 2
bmAttributes:                      0x03  -> Interrupt Transfer Type
wMaxPacketSize:                  0x0040 = 0x40 bytes
bInterval:                         0x01

@pasccom
Copy link

pasccom commented Mar 1, 2023

Hello, I also happen to have got an Elitech RC-5+ device and I developed a python client library with a command line interface to interact with is. The project python-elitech is very new, but I have already been able to reconfigure my data logger and extract the recorded data directly from the device memory. You are welcome if you want to give it a try!
Hope you will enjoy it!

@FrankRay78
Copy link

FrankRay78 commented Mar 2, 2023

Fantastic looking repo @pasccom, seriously impressive.

nb. I'm re-teaching myself Ansi C and have bought an RC-5+ device as a good starting point for a cross-platform, development project. Your repo is going to really help me get started as it will avoid the need for reverse engineering the messages/data structures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants