Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# CALL_RECORD

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    struct CALL_RECORD {
        BOOL missedCall;
        char devName[32];
        unsigned int callType;
        DD_TIME recordTime;
        DD_TIME startTime;
        DD_TIME endTime;
        GUID chlId;
        unsigned int devType;
        unsigned int communityNo;
        unsigned int sectorNo;
        unsigned int buildingNo;
        unsigned int unitNo;
        unsigned int floorNo;
        unsigned int doorStationNo;
        char resv[32];
    };

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct CALL_RECORD
    {
        public bool missedCall;
        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)]
        public string devName;
        public UInt32 callType;
        public DD_TIME recordTime;
        public DD_TIME startTime;
        public DD_TIME endTime;
        public GUID chlId;
        public UInt32 devType;
        public UInt32 communityNo;
        public UInt32 sectorNo;
        public UInt32 buildingNo;
        public UInt32 unitNo;
        public UInt32 floorNo;
        public UInt32 doorStationNo;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 32)]
        public byte[] resv;
    }

### Function Description

Call history for the access control indoor unit.

### Member Description

Member | Type | Remark
--- | --- | ---
missedCall | BOOL | Is it a missed call
devName | char[32] | Device name
callType | unsigned int | Call type, refer to `ACCESS_CONTROL_CALL_TYPE`
recordTime | `DD_TIME` | Record time
startTime | `DD_TIME` | Call start time
endTime | `DD_TIME` | Call end time
chlId | GUID | Channel GUID
devType | unsigned int | Device type, refer to `ACCESS_CONTROL_DEVICE_TYPE`
communityNo | unsigned int | Community number
sectorNo | unsigned int | Unit number
buildingNo | unsigned int | Building number
unitNo | unsigned int | Room number
floorNo | unsigned int | Floor number
doorStationNo | unsigned int | Door number
resv | char[32] | Reserved field.

Error Code