c.arg[0] = i; // offset
c.arg[1] = len; // number of bytes
memcpy(c.d.asBytes, data+i, len);
c.arg[0] = i; // offset
c.arg[1] = len; // number of bytes
memcpy(c.d.asBytes, data+i, len);
- PrintAndLog("Wrote chunk %d - %d", i, len);
+ PrintAndLog("Wrote chunk [offset %d | len %d | total %d", i, len, i+len);