How to read cluster attribute values for on/Off cluster in Zigbee Network Coordinator

Hi 
What is the best way to read cluster attributes periodically in zigbee network coordnicator?

any sample code available for one time request or subscription for value change or periodic subscription ?

Related