dgatf / msrc

Multi Sensor for RC with RP2040 - FrSky D, SmartPort, XBUS, SRXL, IBUS, SBUS, Multiplex Sensor Bus, Jeti Ex Bus, Hitec
GNU General Public License v3.0
168 stars 41 forks source link

HobbyWing V4 120A LV gives not date when motor off #55

Closed LuHaGH closed 2 years ago

LuHaGH commented 2 years ago

You are right, only when the motor is is running the ESC is transferring data.

ESC-XBus.txt

That is not right, but the format is different when the motor is stopped. I took your sniffer and as you can see in the logfile there are two different data lines if the motor is not runnig and only one if the motor is running.

HW_120A_V4.txt

Maybe you could optimize the data processing?

dgatf commented 2 years ago

Fixed with 2d8250a26736583c5ac949de7acf573e012c01c4

dgatf commented 2 years ago

Indeed it was not solved. When motor is stopped, packet length is 1 byte longer

Fixed now with 5c6c9c98b25005eb8c09cc64a048f630b779bb17