Descriptor functions

The AF Descriptor functions allow ZigBee descriptors for the local node to be copied to and from the context area of the ZigBee PRO stack. The functions are listed below.

  1. ZPS_eAplAfGetNodeDescriptor

  2. ZPS_eAplAfGetNodePowerDescriptor

  3. ZPS_eAplAfGetSimpleDescriptor

ZPS_eAplAfGetNodeDescriptor

ZPS\_teStatus ZPS\_eAplAfGetNodeDescriptor\(
            ZPS\_tsAplAfNodeDescriptor *psDesc);

Description

This function copies the Node descriptor (for the local node) from the context area of the stack to the specified structure (the descriptor is returned through the function’s parameter).

Parent topic:ZPS_eAplAfGetNodeDescriptor

Parameters

* psDesc: Pointer to structure (see Section 8.2.1.1) to receive Node descriptor.

Parent topic:ZPS_eAplAfGetNodeDescriptor

Returns

Parent topic:ZPS_eAplAfGetNodeDescriptor

Parent topic:Descriptor functions

ZPS_eAplAfGetNodePowerDescriptor

ZPS\_teStatus ZPS\_eAplAfGetNodePowerDescriptor\(
            ZPS\_tsAplAfNodePowerDescriptor *psDesc);

Description

This function copies the Node Power descriptor (for the local node) from the context area of the stack to the specified structure (the descriptor is returned through the function’s parameter).

Parent topic:ZPS_eAplAfGetNodePowerDescriptor

Parameters

* psDesc Pointer to structure (see Section 8.2.1.2) to receive Node Power descriptor

Parent topic:ZPS_eAplAfGetNodePowerDescriptor

Returns

Parent topic:ZPS_eAplAfGetNodePowerDescriptor

Parent topic:Descriptor functions

ZPS_eAplAfGetSimpleDescriptor

ZPS\_teStatus ZPS\_eAplAfGetSimpleDescriptor\(
        uint8 u8Endpoint,
        ZPS\_tsAplAfSimpleDescriptor *psDesc);

Description

This function copies the Simple descriptor for the specified endpoint (on the local node) from the context area of the stack to the specified structure (the descriptor is returned through the function’s parameter).

Parent topic:ZPS_eAplAfGetSimpleDescriptor

Parameters

* psDesc Pointer to structure (see Section 8.2.1.3) to receive Simple descriptor

Parent topic:ZPS_eAplAfGetSimpleDescriptor

Returns

Parent topic:ZPS_eAplAfGetSimpleDescriptor

Parent topic:Descriptor functions

Parent topic:AF API functions