ZPS_tsAplZdpBackupBindTableReq

This structure is used by the function ZPS_eAplZdpBackupBindTableRequest(). It represents a request to a remote node to save a back-up of the local primary binding table cache (whole or in part).

The ZPS_tsAplZdpBackupBindTableReqstructure is detailed below.

typedef struct {
    uint16 u16BindingTableEntries;
    uint16 u16StartIndex;
    uint16 u16BindingTableListCount;
    /* Rest of message is variable length */
    ZPS_tsAplZdpBindingTable sBindingTable;
} ZPS_tsAplZdpBackupBindTableReq;

where:

  • u16BindingTableEntriesis the total number of entries in the primary binding table cache.

  • u16StartIndexis the binding table index of the first entry to be backed up.

  • u16BindingTableListCountis the number of binding table entries in the list to be backed up (sBindingTable).

  • sBindingTableis a pointer to the list of binding table entries to be backed up. Each list item is of the type ZPS_tsAplZdpBindingTabledetailed below:

ZPS_tsAplZdpBindingTable

typedef struct
{
uint64 u64SourceAddress;
ZPS_tsAplZdpBindingTableEntry* psBindingTableEntryForSpSrcAddr;
}ZPS_tsAplZdpBindingTable;

where:

  • u64SourceAddressis the IEEE source address for the binding table entry.

  • psBindingTableEntryForSpSrcAddris the binding table entry. This is of the type ZPS_tsAplZdpBindingTableEntrydetailed below.

ZPS_tsAplZdpBindingTableEntry

typedef struct
{
    uint16 u16ClusterId;
    uint8 u8SourceEndpoint;
    uint8 u8DstAddrMode;
union {
     struct {
        uint16 u16DstAddress;
      } sShort;
     struct {
        uint64 u64DstAddress;
        uint8 u8DstEndPoint;
      } sExtended;
    };
}ZPS_tsAplZdpBindingTableEntry;

where:

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

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

  • u8DstAddrModeis the destination addressing mode for remaining elements (see Table below)

  • u16DstAddressis the address the destination node for the binding (address type according to setting of u8DstAddrMode)

  • u8DstEndPointis the number of the destination endpoint for the binding (1-240)

Addressing modes

u8DstAddrMode

Code

Description

0x01

ZPS_E_ADDR_MODE_GROUP

16-bit Group address

0x03

ZPS_E_ADDR_MODE_IEEE

64-bit IEEE/MAC address

Parent topic:ZDP Request structures