Index: HD/utils.py =================================================================== diff -u -r082ea4c8b0c6a3c804453308990d0bb98a0a2156 -r0da0106eca868b9144298c60911710b3414a5837 --- HD/utils.py (.../utils.py) (revision 082ea4c8b0c6a3c804453308990d0bb98a0a2156) +++ HD/utils.py (.../utils.py) (revision 0da0106eca868b9144298c60911710b3414a5837) @@ -1,7 +1,11 @@ import struct from binascii import unhexlify -def integer2ByteArray(val): +NO_RESET = 0 +RESET = 1 + + +def integer_to_byte_array(val): """ Converts an integer value into a byte array (little endian) @@ -14,7 +18,7 @@ return b -def float2ByteArray(val): +def float_to_byte_array(val): """ Converts a float value into a byte array (little endian)