Jon0 / ax1600i

14 stars 5 forks source link

add AX860i #1

Closed okias closed 1 year ago

okias commented 1 year ago

Hey! Just adding a note, I'll try to make your code run with AX860i too.

First experiement:

self.handle.write_control(0x40, 0x02, 0x0002, 0, &empty, Duration::from_secs(1)).expect("Control failed");

isn't same for AX860i, but computer now compiles and usb-serial conventer disappeared, so I need to wait until next re-plug or reboot.

Jon0 commented 1 year ago

Cool, I started this because ax1600i seems a little different from other models - If this code isn't working some other projects may be useful:

cpsumon looks like it might already work for the AX860i, the models with dongles all work mostly the same, but the AX1600i has no dongle and the protocol is slightly different (seems to add an additional one byte: 0x12 to acknowledge each message)

okias commented 1 year ago

Thank you for the tip, cpsumon works well, regarding to the design, I'll drop my effort to implement 860i in your repo :)