How to implement a simple zigbee cluster that tow-way data transfer between zigbee coordinator and device?

Hi,

I want to implement a simple Zigbee cluster that can transfer bytes between zc or zd, like UART TXRX.

I found Messaging Cluster might be the one. After checking these posts below, I still do not have an idea of how to implement it in Zigbee Template example.

https://devzone.nordicsemi.com/f/nordic-q-a/74238/zigbee-messaging-cluster

https://devzone.nordicsemi.com/f/nordic-q-a/69469/question-how-to-send-payload-from-zed-to-zc/285676

https://devzone.nordicsemi.com/f/nordic-q-a/68430/question-can-i-use-zigbee-and-uart-at-the-same-time

https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v4.0.0%2Fgroup___z_b___z_c_l___m_e_s_s_a_g_i_n_g.html

I am aware that there are some libs that seem to have been implemented.

ncs\v2.1.0\nrfxlib\zboss\production\include\zcl\zb_zcl_messaging.h

ncs\v2.1.0\nrfxlib\zboss\production\src\zcl\zcl_c_messaging.c

ncs\v2.1.0\nrfxlib\zboss\production\src\zcl\zcl_s_messaging.c

Could you guild me on how to implement it on the Template example code and use the Shell example ad zc to send and receive data from that message cluster?

many thanks

Parents Reply Children
No Data
Related