general setValue method takes a const void * instead of ptr to uint8_t