|
From: | Josh Datko |
Subject: | Re: [Hashlet-users] HMAC Feature |
Date: | Sun, 26 Jan 2014 19:26:10 -0700 |
So byte order is little-endian?Sometimes, they will start describing bit 0 first, but bit 0 is the LSB
always.
Hah, I'm comfortable with both, it's just a matter of getting used to the sub-standard coding style :P
4. I'm passing struct octet_buffer s around by value on purpose. They
contain a pointer and a len. There are functions in util.h to free and
malloc the buffers, which will automatically zero out the data.
Nice, I've got a logic probe that I've used for debugging I2C in the past, shouldn't be an issue.
5. When debugging, pass the -v option. This will dump all the bytes on the
wire and makes debugging a lot easier. A logic analyzer is nice to have,
but the bare metal I2c stuff seems to be working.
Looking forward to getting this knocked out.
[Prev in Thread] | Current Thread | [Next in Thread] |