Thanks for the help. I activated the Zigbee logs and this is what i got.
3:13:16.137
XBEE TX XBeeSetSoftwareResetCommand
XBeeSetSoftwareResetCommand [frameId=1]
13:13:16.317
XBEE RX XBeeSoftwareResetResponse
XBeeSoftwareResetResponse [frameId=1, commandStatus=OK]
13:13:18.678
XBEE RX XBeeModemStatusEvent status=WATCHDOG_TIMER_RESET
XBeeModemStatusEvent [status=WATCHDOG_TIMER_RESET]
13:13:18.688
XBEE TX XBeeSetApiEnableCommand
XBeeSetApiEnableCommand [frameId=2, mode=2]
13:13:18.688
XBEE RX XBeeModemStatusEvent status=COORDINATOR_STARTED
XBeeModemStatusEvent [status=COORDINATOR_STARTED]
13:13:18.848
XBEE RX XBeeApiEnableResponse
XBeeApiEnableResponse [frameId=2, commandStatus=OK, mode=null]
13:13:18.848
XBEE TX XBeeSetApiModeCommand
XBeeSetApiModeCommand [frameId=3, mode=3]
13:13:19.018
XBEE RX XBeeApiModeResponse
XBeeApiModeResponse [frameId=3, commandStatus=OK, mode=null]
13:13:19.018
XBEE TX XBeeGetHardwareVersionCommand
XBeeGetHardwareVersionCommand [frameId=4]
13:13:19.278
XBEE RX XBeeHardwareVersionResponse
XBeeHardwareVersionResponse [frameId=4, commandStatus=OK, hardwareVersion=19 4A]
13:13:19.278
XBEE TX XBeeGetFirmwareVersionCommand
XBeeGetFirmwareVersionCommand [frameId=5]
13:13:19.448
XBEE RX XBeeFirmwareVersionResponse
XBeeFirmwareVersionResponse [frameId=5, commandStatus=OK, firmwareVersion=21 A7]
13:13:19.448
XBEE TX XBeeGetDetailedVersionCommand
XBeeGetDetailedVersionCommand [frameId=6]
13:13:19.608
XBEE RX XBeeDetailedVersionResponse
XBeeDetailedVersionResponse [frameId=6, commandStatus=INVALID_COMMAND]
13:13:19.608
XBEE TX XBeeGetIeeeAddressHighCommand
XBeeGetIeeeAddressHighCommand [frameId=7]
13:13:19.768
XBEE RX XBeeIeeeAddressHighResponse
XBeeIeeeAddressHighResponse [frameId=7, commandStatus=OK, ieeeAddress=00 13 A2 00]
13:13:19.768
XBEE TX XBeeGetIeeeAddressLowCommand
XBeeGetIeeeAddressLowCommand [frameId=8]
13:13:19.928
XBEE RX XBeeIeeeAddressLowResponse
XBeeIeeeAddressLowResponse [frameId=8, commandStatus=OK, ieeeAddress=41 9B DC CD]
13:13:19.928
XBEE TX XBeeSetZigbeeStackProfileCommand
XBeeSetZigbeeStackProfileCommand [frameId=9, stackProfile=2]
13:13:20.088
XBEE RX XBeeZigbeeStackProfileResponse
XBeeZigbeeStackProfileResponse [frameId=9, commandStatus=OK, stackProfile=null]
13:13:20.088
XBEE TX XBeeSetEncryptionEnableCommand
XBeeSetEncryptionEnableCommand [frameId=10, enableEncryption=true]
13:13:20.347
XBEE RX XBeeEncryptionEnableResponse
XBeeEncryptionEnableResponse [frameId=10, commandStatus=OK, enableEncryption=null]
13:13:20.347
XBEE TX XBeeSetEncryptionOptionsCommand
XBeeSetEncryptionOptionsCommand [frameId=11, encryptionOptions=[ENABLE_TRUST_CENTRE]]
13:13:20.517
XBEE RX XBeeEncryptionOptionsResponse
XBeeEncryptionOptionsResponse [frameId=11, commandStatus=OK]
13:13:20.517
XBEE TX XBeeSetCoordinatorEnableCommand
XBeeSetCoordinatorEnableCommand [frameId=12, enable=true]
13:13:20.677
XBEE RX XBeeCoordinatorEnableResponse
XBeeCoordinatorEnableResponse [frameId=12, commandStatus=INVALID_COMMAND]
13:13:20.677
XBEE TX XBeeSetNetworkKeyCommand
XBeeSetNetworkKeyCommand [frameId=13, networkKey=00000000000000000000000000000000]
13:13:20.948
XBEE RX XBeeNetworkKeyResponse
XBeeNetworkKeyResponse [frameId=13, commandStatus=OK]
13:13:20.948
XBEE TX XBeeSetLinkKeyCommand
XBeeSetLinkKeyCommand [frameId=14, linkKey=5A6967426565416C6C69616E63653039]
13:13:20.958
XBEE RX XBeeReceivePacketExplicitEvent
XBeeReceivePacketExplicitEvent [ieeeAddress=00124B001D4413CA, networkAddress=18107, sourceEndpoint=11, destinationEndpoint=255, clusterId=6, profileId=260, receiveOptions=PACKET_ACKNOWLEDGED, data=08 2B 0A 00 00 10 01]
13:13:21.018 18107
RX 2B ReportAttributesCommand cluster=ON_OFF
ReportAttributesCommand [On/Off: 18107/11 -> 0/255, cluster=0006, TID=2B, reports=[Attribute Report: attributeDataType=BOOLEAN, attributeIdentifier=0, attributeValue=true]]
13:13:21.148
XBEE RX XBeeLinkKeyResponse
XBeeLinkKeyResponse [frameId=14, commandStatus=OK]
13:13:21.148
XBEE TX XBeeSetSaveDataCommand
XBeeSetSaveDataCommand [frameId=15]
13:13:21.308
XBEE RX XBeeSaveDataResponse
XBeeSaveDataResponse [frameId=15, commandStatus=OK]
13:13:21.308
XBEE TX XBeeGetPanIdCommand
XBeeGetPanIdCommand [frameId=16]
13:13:21.468
XBEE RX XBeePanIdResponse
XBeePanIdResponse [frameId=16, commandStatus=OK, panId=51498]
13:13:21.468
XBEE TX XBeeGetExtendedPanIdCommand
XBeeGetExtendedPanIdCommand [frameId=17]
13:13:21.738
XBEE RX XBeeExtendedPanIdResponse
XBeeExtendedPanIdResponse [frameId=17, commandStatus=OK, extendedPanId=1D8071447DADE601]
13:13:21.738
XBEE TX XBeeGetOperatingChannelCommand
XBeeGetOperatingChannelCommand [frameId=18]
13:13:21.888
XBEE RX XBeeOperatingChannelResponse
XBeeOperatingChannelResponse [frameId=18, commandStatus=OK, channel=11]
13:13:21.898
XBEE TX XBeeSetScanChannelsCommand
XBeeSetScanChannelsCommand [frameId=19, channels=1]
13:13:22.068
XBEE RX XBeeScanChannelsResponse
XBeeScanChannelsResponse [frameId=19, commandStatus=OK, channels=null]
13:13:22.068
XBEE TX XBeeGetOperatingChannelCommand
XBeeGetOperatingChannelCommand [frameId=20]
13:13:22.228
XBEE RX XBeeOperatingChannelResponse