+ object_id = (uint64_t)(value[6] & 0xFF) << 40 |
+ (uint64_t)(value[5] & 0xFF) << 32 |
+ (uint64_t)(value[4] & 0xFF) << 24 |
+ (uint64_t)(value[3] & 0xFF) << 16 |
+ (uint64_t)(value[2] & 0xFF) << 8 |
+ (uint64_t)(value[1] & 0xFF);
+ BT_INFO("Object ID [%llu]", object_id);
+ if (selected_object && selected_object->id == object_id)
+ goto fail;
+
+ object = _bt_otp_client_find_object(otp_object_list, object_id, &index);
+ if (!object) {
+ ret = OLCP_OJECT_ID_NOT_FOUND;
+ goto fail;
+ }
+ update_obj_metadata_charc_value(object);
+ selected_object = object;
+ obj_curr_index = index - 1;
+ break;