That example you are referring to is for an XBee 802.15.4 module and network which you are NOT working with. You are using a Zigbee Mesh enabled product. For that, your coordinator will need to be in API mode. (Coordinator API firmware installed) and your End device will need to have either the IC parameter or the IR value set.