snprintf(buff, size + 1, "%s", ((char*) ptr));
WFD_APP_LOG(WFD_APP_LOG_ERROR, "Found STR -KEY: %s, VAL: %s, SIZE: %d", key, buff, size);
snprintf(buff, size + 1, "%s", ((char*) ptr));
WFD_APP_LOG(WFD_APP_LOG_ERROR, "Found STR -KEY: %s, VAL: %s, SIZE: %d", key, buff, size);