5f6155638d
Changed error code from ESP_ERR_INVALID_STATE to ESP_ERR_NOT_FOUND when the client never opened the device. Updated function documentation to correctly reflect return values.