ZPS_tsAplZdpBindRegisterRsp
This structure is used to store Bind_Register_rsp message data - a response to a call to the function ZPS_eAplZdpBindRegisterRequest(). This response contains binding information held on the responding node concerning the requesting node.
The ZPS_tsAplZdpBindRegisterRsp
structure is detailed below.
typedef struct {
uint8 u8Status;
uint16 u16BindingTableEntries;
uint16 u16BindingTableListCount;
/* Rest of the message is variable Length */
ZPS_tsAplZdpBindingTable sBindingTableList;
} ZPS_tsAplZdpBindRegisterRsp;
where:
u8Status
is the return status for ZPS_eAplZdpBindRegisterRequest().u16BindingTableEntries
is the total number of binding table entries concerning the requesting node held on the responding node.u16BindingTableListCount
is the number of binding table entries concerning the requesting node contained in this response.sBindingTableList
is a pointer to the first item in the list of reported binding table entries. A list item is of typeZPS_tsAplZdpBindingTable
detailed below.
ZPS_tsAplZdpBindingTable
typedef struct
{
uint64 u64SourceAddress;
ZPS_tsAplZdpBindingTableEntry* psBindingTableEntryForSpSrcAddr;
}ZPS_tsAplZdpBindingTable;
where:
u64SourceAddress
is the IEEE address of the node to which the binding table entry relates.psBindingTableEntryForSpSrcAddr
is a pointer to the relevant binding table information. This information is contained in a structure of typeZPS_tsAplZdpBindingTableEntry
detailed below.
Parent topic:ZPS_tsAplZdpBindRegisterRsp
ZPS_tsAplZdpBindingTableEntry
typedef struct
{
uint8 u8SourceEndpoint;
uint16 u16ClusterId;
uint8 u8DstAddrMode;
union {
struct {
uint16 u16DstAddress;
} sShort;
struct {
uint64 u64DstAddress;
uint8 u8DstEndPoint;
} sExtended;
};
}ZPS_tsAplZdpBindingTableEntry;
where:
u8SourceEndpoint
is the number of the bound endpoint (1-240) on the source node of the bindingu16ClusterId
is the ID of the cluster involved in the binding, on the source node of the bindingu8DstAddrMode
is the addressing mode used in the rest of the structure (see Table 19 below)u16DstAddress
is the network address of the destination node of the binding (this is only application ifu8DstAddrMode
is set to 0x03)u64DstAddress
is the IEEE address of the destination node of the binding (this is only application ifu8DstAddrMode
is set to 0x04)u8DstEndPoint
is the number of the bound endpoint (1-240) on the destination node of the binding
Addressing modes
u8DstAddrMode |
Code |
Description |
---|---|---|
0x00 |
ZPS_E_ADDR_MODE_BOUND |
Bound endpoint |
0x01 |
ZPS_E_ADDR_MODE_GROUP |
16-bit Group address |
0x02 |
ZPS_E_ADDR_MODE_SHORT |
16-bit Network (Short) address |
0x03 |
ZPS_E_ADDR_MODE_IEEE |
64-bit IEEE/MAC address |
Parent topic:ZPS_tsAplZdpBindRegisterRsp
Parent topic:ZDP response structures