robertobucher / pysimCoder

Block diagram editor and real time code generator for Python
GNU General Public License v3.0
142 stars 31 forks source link

shv: add support for native double format #79

Closed michallenc closed 4 months ago

michallenc commented 4 months ago

SHV can pack double values either as decimal (mantisa and exponent) or as native double (8 bytes, little endian). This adds the latter option to unpack function.

This enables other SHV tools like pySHV to send double directly without calculating mantisa and exponent.