This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

no part number

Other Parts Discussed in Thread: Z-STACK

Hi team,

                     I am working on ZIgbee. when i connect my end device to coordinator. it will keep on joining and leaving. i don't know why it will happen.i think match descriptor problem.i use the Ubiqua protocol to analyze the packets, but in that Match descriptor Request only happen.coordinator can't reply the Match descriptor response. please any one help me.

ZigBee> ���PP# S��S��`k���"���s 3�!e���V��KU�%HMI: HMI Demo Initialized.
WLAN: WLAN Registered 
WLAN\P2P: WLAN P2P Registered 
Net: Net Registered
Coex: Coex Demo Initialized.
FwUp: Firmware Upgrade Registered 
ADSS: ADSS Registered 
LP: LP Registered 
Fs: Fs Registered
SecureFs: SecureFs Registered
Crypto: Crypto Registered
ZigBee: ZigBee Demo Initialized.
Peripherals\ADC: ADC Registered 
Peripherals\SENSORS: SENSORS Registered 
Peripherals\PWM: PWM Registered 
Peripherals\Master SDCC: Master SDCC Registered 
Peripherals\HTCSlave: MboxPing Registered
Peripherals: Peripherals Registered 
Platform: Platform Registered
JSON: JSON Demo Registered.

Command List:
  Commands:
     0. Ver
     1. Help
     2. Exit

  Subgroups:
     3. BLE
     4. HMI
     5. WLAN
     6. Net
     7. Coex
     8. FwUp
     9. ADSS
    10. LP
    11. Fs
    12. SecureFs
    13. Crypto
    14. ZigBee
    15. Peripherals
    16. Platform
    17. JSON


> 14

ZigBee> 4

ZigBee: ZigBee stack initialized.
ZigBee:    Extended Address: 0000000000000000

ZigBee> SetExtAddress 000000FFFE000001

ZigBee: qapi_ZB_Set_Extended_Address() success.

ZigBee> 27

ZigBee\ZCL> 5

ZigBee\ZCL: Endpoint Types:
ZigBee\ZCL:   1. On/Off Light
ZigBee\ZCL:   2. On/Off Light Switch
ZigBee\ZCL:   3. Dimmable Light
ZigBee\ZCL:   4. Dimmer Switch
ZigBee\ZCL:   5. Color Dimmable Light
ZigBee\ZCL:   6. Color Dimmer Switch
ZigBee\ZCL:   7. Touchlink Server
ZigBee\ZCL:   8. Touchlink Client
ZigBee\ZCL:   9. OTA Upgrade Server
ZigBee\ZCL:  10. Power Server
ZigBee\ZCL:  11. Control Client
ZigBee\ZCL:  12. Custom Server
ZigBee\ZCL:  13. Custom Client

ZigBee\ZCL> 6 1 2

ZigBee\ZCL: qapi_ZB_CL_Register_Callback() success.
ZigBee\ZCL: Endpoint 1 Initialized as On/Off Light Switch.

ZigBee\ZCL> up

Command List (ZigBee):
  Commands:
     0. Ver
     1. Help
     2. Up
     3. Root

     4. Initialize
     5. Shutdown
     6. AddDevice
     7. RemoveDevice
     8. ShowDeviceList
     9. Form
    10. Join
    11. Reconnect
    12. Leave
    13. LeaveReq
    14. PermitJoin
    15. BindRequest
    16. EndBind
    17. UnbindRequest
    18. GetNIB
    19. SetNIB
    20. GetAIB
    21. SetAIB
    22. SetBIB
    23. GetBIB
    24. SetExtAddress
    25. GetAddresses
    26. ClearPersist

  Subgroups:
    27. ZCL
    28. Basic
    29. Identify
    30. Groups
    31. Scenes
    32. OnOff
    33. LevelControl
    34. Alarms
    35. Time
    36. OTA
    37. Touchlink
    38. ColorControl
    39. Custom


ZigBee> form 1

ZigBee: Dummy Print.
ZigBee: Network Key_before_if qapi_ZB_Form() success.
ZigBee: Network Key 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 

ZigBee>                                                          
ZigBee: Form confirm:                                                                       
ZigBee:   Status:  0                                              
ZigBee:   Channel: 26                                                                         
                                                                
ZigBee> perm
ZigBee: Device Annce:
ZigBee:   ExtendedAddress: 000D6F0005242100
ZigBee:   NetworkAddress:  0xB1F0
ZigBee:   Capability:      0x8E

ZigBee> permitjoin 255

ZigBee: qapi_ZB_Permit_Join() success.

ZigBee> 
ZigBee: Leave indication:
ZigBee:   ExtendedAddress: 000D6F0005242100
ZigBee:   NetworkAddress:  0xB1F0
ZigBee:   Rejoin:          false

ZigBee> 
ZigBee: Leave indication:
ZigBee:   ExtendedAddress: 000D6F0005242100
ZigBee:   NetworkAddress:  0xB1F0
ZigBee:   Rejoin:          false

ZigBee> 
ZigBee: Leave indication:
ZigBee:   ExtendedAddress: 000D6F0005242100
ZigBee:   NetworkAddress:  0xB1F0
ZigBee:   Rejoin:          false


 

  • Can you specify your Z-Stack version and what example you use to run end device and coordinator?
  • version zigbee pro 3.0 and i am trying to connect the end device for Home automation.
  • Please help me i am facing this problem past two days.i am using coordinator for zigbee and end device for smart plug.smart plug sending the Match descriptor request but coordinator can't response the Match descriptor response.That's why smart plug sending the beacons continuously to coordinator.How to avoid this problem.
  • You should set bdb_default_tc_require_key_exchange to FALSE on Zigbee 3.0 coordinator to allow Zigbee HA device to join.
  • That also i tried but that time end device is not joining to coordinator even one time also.
  • What is your end device?

  • What smart plug? Are you sure it runs Zigbee HA profile?
  • Yes it's working for on/off and toggle but the problem is it's continuous joining and leaving.
  • Is it based on TI Z-Stack?
  • Do you design the smart plug by yourself?
  • No someone already designed.I used that one for checking purpose.
  • Then, I suggest you to contact manufacturer.
  • What can i ask?. because i don't know where the problem.
  • Don’t you see the device keep leaving and rejoining network? By the way, can you specify which smart plug you use?
  • ZigBee> ���PP# S��S��`k���"���s 3�!eâ����V��KU�%HMI: HMI Demo Initialized.
    WLAN: WLAN Registered 
    WLAN\P2P: WLAN P2P Registered 
    Net: Net Registered
    Coex: Coex Demo Initialized.
    FwUp: Firmware Upgrade Registered 
    ADSS: ADSS Registered 
    LP: LP Registered 
    Fs: Fs Registered
    SecureFs: SecureFs Registered
    Crypto: Crypto Registered
    ZigBee: ZigBee Demo Initialized.
    Peripherals\ADC: ADC Registered 
    Peripherals\SENSORS: SENSORS Registered 
    Peripherals\PWM: PWM Registered 
    Peripherals\Master SDCC: Master SDCC Registered 
    Peripherals\HTCSlave: MboxPing Registered
    Peripherals: Peripherals Registered 
    Platform: Platform Registered
    JSON: JSON Demo Registered.
    
    Command List:
      Commands:
         0. Ver
         1. Help
         2. Exit
    
      Subgroups:
         3. BLE
         4. HMI
         5. WLAN
         6. Net
         7. Coex
         8. FwUp
         9. ADSS
        10. LP
        11. Fs
        12. SecureFs
        13. Crypto
        14. ZigBee
        15. Peripherals
        16. Platform
        17. JSON
    
    
    > 14
    
    ZigBee> 4
    
    ZigBee: ZigBee stack initialized.
    ZigBee:    Extended Address: 0000000000000000
    
    ZigBee> SetExtAddress 000000FFFE000001
    
    ZigBee: qapi_ZB_Set_Extended_Address() success.
    
    ZigBee> 27
    
    ZigBee\ZCL> 5
    
    ZigBee\ZCL: Endpoint Types:
    ZigBee\ZCL:   1. On/Off Light
    ZigBee\ZCL:   2. On/Off Light Switch
    ZigBee\ZCL:   3. Dimmable Light
    ZigBee\ZCL:   4. Dimmer Switch
    ZigBee\ZCL:   5. Color Dimmable Light
    ZigBee\ZCL:   6. Color Dimmer Switch
    ZigBee\ZCL:   7. Touchlink Server
    ZigBee\ZCL:   8. Touchlink Client
    ZigBee\ZCL:   9. OTA Upgrade Server
    ZigBee\ZCL:  10. Power Server
    ZigBee\ZCL:  11. Control Client
    ZigBee\ZCL:  12. Custom Server
    ZigBee\ZCL:  13. Custom Client
    
    ZigBee\ZCL> 6 1 2
    
    ZigBee\ZCL: qapi_ZB_CL_Register_Callback() success.
    ZigBee\ZCL: Endpoint 1 Initialized as On/Off Light Switch.
    
    ZigBee\ZCL> up
    
    Command List (ZigBee):
      Commands:
         0. Ver
         1. Help
         2. Up
         3. Root
    
         4. Initialize
         5. Shutdown
         6. AddDevice
         7. RemoveDevice
         8. ShowDeviceList
         9. Form
        10. Join
        11. Reconnect
        12. Leave
        13. LeaveReq
        14. PermitJoin
        15. BindRequest
        16. EndBind
        17. UnbindRequest
        18. GetNIB
        19. SetNIB
        20. GetAIB
        21. SetAIB
        22. SetBIB
        23. GetBIB
        24. SetExtAddress
        25. GetAddresses
        26. ClearPersist
    
      Subgroups:
        27. ZCL
        28. Basic
        29. Identify
        30. Groups
        31. Scenes
        32. OnOff
        33. LevelControl
        34. Alarms
        35. Time
        36. OTA
        37. Touchlink
        38. ColorControl
        39. Custom
    
    
    ZigBee> form 1
    
    ZigBee: Dummy Print.
    ZigBee: Network Key_before_if qapi_ZB_Form() success.
    ZigBee: Network Key 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
    
    ZigBee>                                                          
    ZigBee: Form confirm:                                                                       
    ZigBee:   Status:  0                                              
    ZigBee:   Channel: 26                                                                         
                                                                    
    ZigBee> perm
    ZigBee: Device Annce:
    ZigBee:   ExtendedAddress: 000D6F0005242100
    ZigBee:   NetworkAddress:  0xB1F0
    ZigBee:   Capability:      0x8E
    
    ZigBee> permitjoin 255
    
    ZigBee: qapi_ZB_Permit_Join() success.
    
    ZigBee> 
    ZigBee: Leave indication:
    ZigBee:   ExtendedAddress: 000D6F0005242100
    ZigBee:   NetworkAddress:  0xB1F0
    ZigBee:   Rejoin:          false
    
    ZigBee> 
    ZigBee: Leave indication:
    ZigBee:   ExtendedAddress: 000D6F0005242100
    ZigBee:   NetworkAddress:  0xB1F0
    ZigBee:   Rejoin:          false
    
    ZigBee> 
    ZigBee: Leave indication:
    ZigBee:   ExtendedAddress: 000D6F0005242100
    ZigBee:   NetworkAddress:  0xB1F0
    ZigBee:   Rejoin:          false
    
    
    

  • What’s this?