ZPS_tsAplZdpBindUnbindReq

This structure is used by the function ZPS_eAplZdpBindUnbindRequest(). It represents a request for a modification of the Binding table on the target node, in order to either bind or unbind two nodes in the network.

The ZPS_tsAplZdpBindUnbindReqstructure is detailed below.

typedef struct {
uint64 u64SrcAddress;
uint8 u8SrcEndpoint;
uint16 u16ClusterId;
uint8 u8DstAddrMode;
union {
  struct {
      uint16 u16DstAddress;
         } sShort;
  struct {
      uint64 u64DstAddress;
      uint8 u8DstEndPoint;
         } sExtended;
  } uAddressField;
} ZPS_tsAplZdpBindUnbindReq;

where:

  • u64SrcAddressis the IEEE address of the source node for the binding

  • u8SrcEndpointis the number of the source endpoint for the binding (1-240)

  • u16ClusterIdis the ID of the cluster (on the local endpoint) for the binding

  • u8DstAddrModeis the destination addressing mode (see Table 14 below):

    • ZPS_E_ADDR_MODE_SHORT: network address (u8DstEndPointis unspecified)

    • ZPS_E_ADDR_MODE_IEEE: IEEE address (u8DstEndPointis specified)

    • All other values are reserved

  • u16DstAddressor u64DstAddressis the address of the destination node for the binding:

    • network address u16DstAddressif u8DstAddrModeis set to ZPS_E_ADDR_MODE_SHORT

    • IEEE address u64DstAddressif 8DstAddrModeis set to ZPS_E_ADDR_MODE_IEEE

  • u8DstEndPointis the number of the destination endpoint for the binding

(1-240) - not required if u8DstAddrModeset to ZPS_E_ADDR_MODE_SHORT (network address)

Addressing modes

u8DstAddrMode

Code

Description

0x02

ZPS_E_ADDR_MODE_SHORT

16-bit Network (Short) address

0x03

ZPS_E_ADDR_MODE_IEEE

64-bit IEEE/MAC address

Parent topic:ZDP Request structures