uint8_t buflen = 2;
At some point, you should actually read and make an attempt to understand the error messages.