CAN Parsing Signed Integer Bug?
dwCANInterpreter_geti32 takes an int32_t as the value parameter but it never returns negative values! Any negative values on the CAN bus are returned as 0. Is this a bug? It seems dwCANInterpreter_getf32|64 is the only way to pull a signed integer using the CAN Interpreter (using some conversion). Ideally, we want getu32, geti16, geti8, getbool, supported to make the CAN interpreter more useful.
dwCANInterpreter_geti32 takes an int32_t as the value parameter but it never returns negative values! Any negative values on the CAN bus are returned as 0. Is this a bug?

It seems dwCANInterpreter_getf32|64 is the only way to pull a signed integer using the CAN Interpreter (using some conversion).
Ideally, we want getu32, geti16, geti8, getbool, supported to make the CAN interpreter more useful.

#1
Posted 12/07/2017 08:15 AM   
Scroll To Top

Add Reply