I am new to Zigbee and I have trouble in register multiple endpoints.
I can regiser a endpoints and it can word well,however,when I attented to add another,the application go wrong and printf "Alignment error" as the figure showed below.I have already added the definition in .zpscfg,and increased ZCL_NUMBER_OF_ENDPOINTS. I can not figure out what is wrong.
The code that I used to register endpoints are showed below too,is there any mistake?
Please, could anyone help me and give some infos?