// File: /workspace/github_c_makefile_star2_O2/back1127[P]linkedge-thing-access-websocket_client_sdk/sdk/test/linux/simulated_device.c
// Function: report_all_property
void report_all_property(const char *pk, const char *dn)
{
    leda_device_data_t property[14];
    
    snprintf(property[0].key, MAX_PARAM_NAME_LENGTH, PROPERTY_INT32_RW);
    property[0].type = LEDA_TYPE_INT;
    snprintf(property[0].value, MAX_PARAM_VALUE_LENGTH, "%d", get_dev_int32_rw(pk, dn));
    
    snprintf(property[1].key, MAX_PARAM_NAME_LENGTH, PROPERTY_INT32_R);
    property[1].type = LEDA_TYPE_INT;
    snprintf(property[1].value, MAX_PARAM_VALUE_LENGTH, "%d", get_dev_int32_r(pk, dn));
    
    snprintf(property[2].key, MAX_PARAM_NAME_LENGTH, PROPERTY_FLOAT_RW);
    property[2].type = LEDA_TYPE_FLOAT;
    snprintf(property[2].value, MAX_PARAM_VALUE_LENGTH, "%f", get_dev_float_rw(pk, dn));
    
    snprintf(property[3].key, MAX_PARAM_NAME_LENGTH, PROPERTY_FLOAT_R);
    property[3].type = LEDA_TYPE_FLOAT;
    snprintf(property[3].value, MAX_PARAM_VALUE_LENGTH, "%f", get_dev_float_r(pk, dn));
    
    snprintf(property[4].key, MAX_PARAM_NAME_LENGTH, PROPERTY_DOUBLE_RW);
    property[4].type = LEDA_TYPE_DOUBLE;
    snprintf(property[4].value, MAX_PARAM_VALUE_LENGTH, "%lf", get_dev_double_rw(pk, dn));
    
    snprintf(property[5].key, MAX_PARAM_NAME_LENGTH, PROPERTY_DOUBLE_R);
    property[5].type = LEDA_TYPE_DOUBLE;
    snprintf(property[5].value, MAX_PARAM_VALUE_LENGTH, "%lf", get_dev_double_r(pk, dn));
    
    snprintf(property[6].key, MAX_PARAM_NAME_LENGTH, PROPERTY_ENUM_RW);
    property[6].type = LEDA_TYPE_ENUM;
    snprintf(property[6].value, MAX_PARAM_VALUE_LENGTH, "%d", get_dev_enum_rw(pk, dn));
    
    snprintf(property[7].key, MAX_PARAM_NAME_LENGTH, PROPERTY_ENUM_R);
    property[7].type = LEDA_TYPE_ENUM;
    snprintf(property[7].value, MAX_PARAM_VALUE_LENGTH, "%d", get_dev_enum_r(pk, dn));
    
    snprintf(property[8].key, MAX_PARAM_NAME_LENGTH, PROPERTY_BOOL_RW);
    property[8].type = LEDA_TYPE_BOOL;
    snprintf(property[8].value, MAX_PARAM_VALUE_LENGTH, "%d", get_dev_bool_rw(pk,dn));
    
    snprintf(property[9].key, MAX_PARAM_NAME_LENGTH, PROPERTY_BOOL_R);
    property[9].type = LEDA_TYPE_BOOL;
    snprintf(property[9].value, MAX_PARAM_VALUE_LENGTH, "%d", get_dev_bool_r(pk, dn));
    
    snprintf(property[10].key, MAX_PARAM_NAME_LENGTH, PROPERTY_STRING_RW);
    property[10].type = LEDA_TYPE_TEXT;
    snprintf(property[10].value, MAX_PARAM_VALUE_LENGTH, "%s", get_dev_string_rw(pk, dn));
    
    snprintf(property[11].key, MAX_PARAM_NAME_LENGTH, PROPERTY_STRING_R);
    property[11].type = LEDA_TYPE_TEXT;
    snprintf(property[11].value, MAX_PARAM_VALUE_LENGTH, "%s", get_dev_string_r(pk, dn));
    
    snprintf(property[12].key, MAX_PARAM_NAME_LENGTH, PROPERTY_DATE_RW);
    property[12].type = LEDA_TYPE_DATE;
    snprintf(property[12].value, MAX_PARAM_VALUE_LENGTH, "%s", get_dev_date_rw(pk, dn));
    
    snprintf(property[13].key, MAX_PARAM_NAME_LENGTH, PROPERTY_DATE_R);
    property[13].type = LEDA_TYPE_DATE;
    snprintf(property[13].value, MAX_PARAM_VALUE_LENGTH, "%s", get_dev_date_r(pk, dn));
    
    leda_report_properties(pk, dn, property, sizeof(property) / sizeof(leda_device_data_t));

    return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x73c8, %rsp           # imm = 0x73C8
movq %rsi, %rbx
movq %rdi, -0x30(%rbp)
movabsq $0x77725f3233746e69, %rax # imm = 0x77725F3233746E69
leaq -0x73ac(%rbp), %r12
movq %rax, -0x40(%r12)
xorl %eax, %eax
movb %al, -0x38(%r12)
xorl %r14d, %r14d
andl $0x0, -0x44(%r12)
callq 0x13d2
leaq 0x15e3(%rip), %r15      # 0x305c
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r15, %rdx
movl %eax, %ecx
xorl %eax, %eax
callq 0x1050
movabsq $0x725f3233746e69, %rax # imm = 0x725F3233746E69
movq %rax, 0x804(%r12)
andl $0x0, 0x800(%r12)
leaq -0x6b68(%rbp), %r12
movq %rbx, %rsi
callq 0x142e
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r15, %rdx
movl %eax, %ecx
xorl %eax, %eax
callq 0x1050
movabsq $0x77725f74616f6c66, %rax # imm = 0x77725F74616F6C66
movq %rax, 0x804(%r12)
movb %r14b, 0x80c(%r12)
pushq $0x2
popq %r14
movl %r14d, 0x800(%r12)
leaq -0x6324(%rbp), %r12
movq %rbx, %rsi
callq 0x144d
cvtss2sd %xmm0, %xmm0
leaq 0x1569(%rip), %r13      # 0x3074
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r13, %rdx
movb $0x1, %al
callq 0x1050
movabsq $0x725f74616f6c66, %rax # imm = 0x725F74616F6C66
movq %rax, 0x804(%r12)
movl %r14d, 0x800(%r12)
leaq -0x5ae0(%rbp), %r12
movq %rbx, %rsi
callq 0x14b9
cvtss2sd %xmm0, %xmm0
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r13, %rdx
movb $0x1, %al
callq 0x1050
movabsq $0x725f656c62756f64, %r14 # imm = 0x725F656C62756F64
movq %r14, 0x804(%r12)
movw $0x77, %ax
movw %ax, 0x80c(%r12)
pushq $0x8
popq %r15
movl %r15d, 0x800(%r12)
leaq -0x529c(%rbp), %r12
movq %rbx, %rsi
callq 0x14da
leaq 0x1517(%rip), %r13      # 0x30b4
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r13, %rdx
movb $0x1, %al
callq 0x1050
movq %r14, 0x804(%r12)
xorl %eax, %eax
movb %al, 0x80c(%r12)
movl %r15d, 0x800(%r12)
leaq -0x4a58(%rbp), %r12
movq %rbx, %rsi
callq 0x154b
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r13, %rdx
movb $0x1, %al
callq 0x1050
movabsq $0x77725f65746164, %rcx # imm = 0x77725F65746164
leaq 0x8010d01(%rcx), %rax
movq %rcx, %r15
movq %rax, 0x804(%r12)
movl $0x5, 0x800(%r12)
leaq -0x4214(%rbp), %r12
movq %rbx, %rsi
callq 0x156c
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
leaq 0x142c(%rip), %r14      # 0x305c
movq %r14, %rdx
movl %eax, %ecx
xorl %eax, %eax
callq 0x1050
movl $0x725f6d, 0x807(%r12) # imm = 0x725F6D
movabsq $0x6d756e6500000005, %rax # imm = 0x6D756E6500000005
movq %rax, 0x800(%r12)
leaq -0x39d0(%rbp), %r12
movq %rbx, %rsi
callq 0x15bf
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r14, %rdx
movl %eax, %ecx
xorl %eax, %eax
callq 0x1050
leaq 0x6fb0dfe(%r15), %rax
movq %rax, 0x804(%r12)
movl $0x1, 0x800(%r12)
leaq -0x318c(%rbp), %r12
movq %rbx, %rsi
callq 0x15de
movzbl %al, %ecx
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x1050
movl $0x725f6c, 0x807(%r12) # imm = 0x725F6C
movabsq $0x6c6f6f6200000001, %rax # imm = 0x6C6F6F6200000001
movq %rax, 0x800(%r12)
leaq -0x2948(%rbp), %r12
movq %rbx, %rsi
callq 0x1631
movzbl %al, %ecx
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x1050
movabsq $0x725f676e69727473, %r14 # imm = 0x725F676E69727473
movq %r14, 0x804(%r12)
movw $0x77, %ax
movw %ax, 0x80c(%r12)
pushq $0x3
popq %r13
movl %r13d, 0x800(%r12)
leaq -0x2104(%rbp), %r12
movq %rbx, %rsi
callq 0x1650
leaq 0x1301(%rip), %r15      # 0x3040
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x1050
movq %r14, 0x804(%r12)
xorl %eax, %eax
movb %al, 0x80c(%r12)
movl %r13d, 0x800(%r12)
leaq -0x18c0(%rbp), %r12
movq %rbx, %rsi
callq 0x16df
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x1050
movabsq $0x77725f65746164, %rax # imm = 0x77725F65746164
movq %rax, 0x804(%r12)
movl $0x4, 0x800(%r12)
leaq -0x107c(%rbp), %r12
movq %rbx, %rsi
callq 0x171d
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x1050
movl $0x725f65, 0x807(%r12) # imm = 0x725F65
movabsq $0x6574616400000004, %rax # imm = 0x6574616400000004
movq %rax, 0x800(%r12)
leaq -0x838(%rbp), %r12
movq %rbx, %rsi
callq 0x17ad
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x1050
leaq -0x73f0(%rbp), %rdx
pushq $0xe
popq %rcx
movq -0x30(%rbp), %rdi
movq %rbx, %rsi
callq 0x1200
addq $0x73c8, %rsp           # imm = 0x73C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq