I have a setup which is working with ZigBee Home Automation profile. From one side I have device which is acting as a gateway and management panel. From another side - XBee S2C SMT module which is configured according to ZigBee HA requirements, and which I need to use as a thermostat. I can successfully join module to the network. But than coordinator sends simple descriptor request and module automatically replies with next packet:
Code:
[14:55:11.957803] Simple Descriptor Response 61-88-95-60-17-00-00-D4-A4-08-02-00-00-D4-A4-1E-54-28-0D-00-00-00-3B-11-91-40-00-A2-13-00-00-4B-96-10-27-DB-B1-D1-D9-CF-3B-50-A7-DE-FB-31-4F-90-88-50-46-87-6D-00-77-52-A5-2C-FF-FF
Frame Information: (60 bytes)
Packet Number: 769
Protocol: ZigBee
Timestamp: 14:55:11.957803
Time Delta: 0.032152
Channel: 25
Length: 60
Link Quality: 1 dBm
Source: USB8621
Layer: ZDP
Status: Decrypted
MAC Header: (9 bytes)
Frame Control: 0x8861
···· ···· ···· ·001 = Frame Type: [0x1] Data
···· ···· ···· 0··· = Security Enabled: [0x0] No
···· ···· ···0 ···· = Frame Pending: [0x0] No
···· ···· ··1· ···· = Acknowledgement Request: [0x1] Yes
···· ···· ·1·· ···· = Intra-PAN: [0x1] Yes
···· ··00 0··· ···· = Reserved: 0x0
···· 10·· ···· ···· = Destination Addr Mode: [0x2] 16-bit Short Address
··00 ···· ···· ···· = Reserved: 0x0
10·· ···· ···· ···· = Source Addr Mode: [0x2] 16-bit Short Address
Sequence Number: 149
Destination PAN ID: 0x1760
Destination Address: 0x0000
Source Address: 0xA4D4
MAC Payload: (49 bytes)
NWK Header: 0x541EA4D400000208
Frame Control: 0x0208
···· ···· ···· ··00 = Frame Type: [0x0] Data
···· ···· ··00 10·· = Protocol Version: 0x2
···· ···· 00·· ···· = Route Discovery: [0x0] Suppressed
···· ···0 ···· ···· = Multicast Flag: [0x0] Unicast or Broadcast
···· ··1· ···· ···· = Security Enabled: [0x1] Yes
···· ·0·· ···· ···· = Source Route Included: [0x0] No
···· 0··· ···· ···· = Destination IEEE Address Included: [0x0] No
···0 ···· ···· ···· = Source IEEE Address Included: [0x0] No
··0· ···· ···· ···· = Device Initiator: [0x0] No
00·· ···· ···· ···· = Reserved: 0x0
Destination Address: 0x0000
Source Address: 0xA4D4
Radius: 0x1E
Sequence Number: 84
NWK Aux Header: (14 bytes)
Network Security Control: 0x28
···· ·000 = Network Security Level: [0x0] None
···0 1··· = Key NWK ID: [0x1] Network Key
··1· ···· = Extended Nonce: [0x1] Yes
00·· ···· = Reserved: 0x0
NWK Frame Counter: 13
Source Address: 00:13:A2:00:40:91:11:3B
NWK Key Sequence Number: 0
NWK Payload: (23 bytes)
APS Header: 0x8F00000080040040
Frame Control: 0x40
···· ··00 = Frame Type: [0x0] Data
···· 00·· = Delivery Mode: [0x0] Normal Unicast Delivery
···0 ···· = Acknowledgement Format: 0x0
Format: [0x0] Data Frame
··0· ···· = Security Enabled: [0x0] No
·1·· ···· = Acknowledgement Request: [0x1] Yes
0··· ···· = Extended Header Present: [0x0] No
Destination Endpoint: 0x00
Cluster ID: [0x8004] Simple Descriptor Response
Profile ID: [0x0000] ZigBee Device Profile
Source Endpoint: 0x00
APS Counter: 143
APS Payload: (15 bytes)
ZDP Transaction Sequence Number: 12
Simple Descriptor Response: (14 bytes)
Status: [0x00] Success
NWK Address of Interest: 0xA4D4
Simple Descriptor Length: 10
Simple Descriptor: (10 bytes)
Endpoint: 0xEE
Application Profile ID: [0x0105] ZigBee Building Automation
Application Device ID: [0x0001] Generic: Level Control Switch
Application Device Version: 1
Reserved: 0x0
Application Input Clusters Count: 1
Application Input Clusters List: 0x0000
Cluster 0: [0x0000] General: Basic
Application Output Clusters Count: 0
NWK MIC: 0x33298457
MAC Footer: 0xFFFF
Frame Check Sequence: 0xFFFF
Why it replies with Application Profile ID: Application Profile ID: [0x0105] ZigBee Building Automation and Application Device ID: [0x0001] Generic: Level Control Switch? How can I configure required device descriptions? If I need to send this frames via UART, then how to disable automatic resonse?