BastianGschrey / PowerTune

GNU General Public License v3.0
87 stars 35 forks source link

Datalogit black stops com at 0x00 0x02 0xfd (analog input message) #28

Closed MarkusIppy closed 6 years ago

MarkusIppy commented 7 years ago

Communication with Datalogit black stops after Analog input message is requested (0x00 0x02 0xFD) Possible root cause is the expected message length is declared incorrect. Total Message Lenght for FC Hako i is 7 Bytes and structured this way byte identifier byte Lenght byteAN1 byteAN2 byteAN3 byteAN4 byte checksum Total Message Lenght for Datalogit bllack was thought to have 11 bytes and look like this byte identifier byte Lenght byteAN1 byteAN2 byteAN3 byteAN4 byteAN5 byteAN6 byteAN7 byteAN8 byte checksum but this assumption seems to be incorrect I have a suspicion that the message has 1 more byte than i expected due to the additional communal ground input ( most probably after AN8 )

MarkusIppy commented 6 years ago

Message 0x00 x02 is always 7 byte long Response is always 0x00 0x06 ..... on Both FC Hako and FC Datalogit