搭载 IRext 的设备数量

电器种类

品牌数量

型号数量

当月新增码

预备新增码

活跃码

各种类电器码库数占比

系统架构示例
索引示例

http://localhost:8081/irext-server/indexing/list_categories
HTTP request body : { id: 'yourID', token: 'yourToken', from: '0', count: '10' }

解码示例

t_remote_ac_status ac_status =
{
    AC_POWER_ON,
    AC_TEMP_24,
    AC_MODE_COOL,
    AC_SWING_ON,
    AC_WS_AUTO
};
uint8_t* buffer = binary_buffer;
uint16_t buffer_length = 700;
uint16_t decoded_data[1024];
uint16_t decoded_length = 0;

ir_binary_open(1, 0, buffer, buffer_length);
decoded_length = ir_decode(KEY_AC_POWER, decoded_data, &ac_status, TRUE);
ir_binary_close();
ir_driver.emit(decoded_data, decoded_length);