ZPS_eAplZdoBind

ZPS_teStatus ZPS_eAplZdoBind(
                         uint16 u16ClusterId,
                         uint8 u8SrcEndpoint,
                         uint16 u16DstAddr,
                         uint64 u64DstIeeeAddr,
                         uint8 u8DstEndpoint);

Description

This function requests a binding to be created between an endpoint on the local node and an endpoint on a remote node. The source endpoint and cluster must be specified, as well as the destination node and endpoint. The destination node is specified using both its 64-bit IEEE (MAC) address and its 16-bit network address.

The binding is added to the binding table on the local node.

A binding to multiple remote endpoints (collected into a group) can be created using the function ZPS_eAplZdoBindGroup().

Parent topic:ZPS_eAplZdoBind

Parameters

u16ClusterId Identifier of cluster on source node to be bound u8SrcEndpoint Number of endpoint (1-240) on source node to be bound u16DstAddr 16-bit network address of destination for binding u64DstIeeeAddr 64-bit IEEE (MAC) address of destination for binding u8DstEndpoint Number of endpoint on destination node to be bound

Parent topic:ZPS_eAplZdoBind

Returns

  • ZPS_E_SUCCESS (binding successfully created)

  • APS return codes, listed and described in Section 11.2.2

  • NWK return codes, listed and described in Section 11.2.3

  • MAC return codes, listed and described in Section 11.2.4

Parent topic:ZPS_eAplZdoBind

Parent topic:Network deployment functions