Hi all,
I am trying to get attendance records deleted from a Face Deep 5 device (firmware 03.80.D5-M-ARF-MI, kernel g68b5cdb_W04, file system 01.80.04).
The problem is that I don’t know if what I’m doing is right or not while sending the CChex_DeleteRecordInfo call to the FaceDeep5.
I already looked through the SDK manual but it doesn’t show anything related to that.
I am actually trying to delete a number of old records, so I tried this on C#:
int delCount = 10;
CCHEX_DEL_RECORD_INFO_STRU delete_record;
if (delCount > 0)
{
delete_record.del_type = 2;
delete_record.del_count = Convert.ToUInt32(delCount);
}
else
{
delete_record.del_type = 0;
delete_record.del_count = 0;
}
int ret = AnvizLib.CChex_DeleteRecordInfo(_handle, _devIdx.Value, ref delete_record);
The returned result does not show any errors, and I also get a positive result from CChex_Update, but no record is actually being deleted from the FaceDeep 5.
I can still see the attendance records on the device Web UI and also when calling CChex_DownloadAllRecords / CChex_TM_DownloadAllRecords.
Am I missing something here?
I’d greatly appreciate any help in this regard.
Thank you very much.