This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3200S HomeKit 如何创建多个配件,创建比如说3个LED灯分开控制!!!

Other Parts Discussed in Thread: CC3220S, CC3220SF


/* Create HAP Engine */
engineHandle = HAPEngine_create(accs, 1, deviceIDBuf,
HAPEngine_CI_FAN, &blink_getSetupCodeFxn, &params);
assert(engineHandle != NULL);

需要怎么修改,accs 数组元素多添加几个吗?