Z-Stack API Reference  3.2.0
zstackapi.c File Reference

ZStack C interface implementation on top of dispatcher messaging interface. More...

Data Structures

struct  _genericreqrsp_t
 

Typedefs

typedef struct _genericreqrsp_t GenericReqRsp_t
 

Functions

zstack_ZStatusValues Zstackapi_sysResetReq (ICall_EntityID appEntity, zstack_sysResetReq_t *pReq)
 Call to send a System Reset Request, through the iCall dispatcher to the ZStack Thread. More...
 
zstack_ZStatusValues Zstackapi_sysVersionReq (ICall_EntityID appEntity, zstack_sysVersionRsp_t *pRsp)
 Call to send a System Version Request, through the iCall dispatcher to the ZStack Thread.
Returns the core ZStack version (major, minor, maintenance). More...
 
zstack_ZStatusValues Zstackapi_sysConfigReadReq (ICall_EntityID appEntity, zstack_sysConfigReadReq_t *pReq, zstack_sysConfigReadRsp_t *pRsp)
 Call to send a System Config Read Request, through the iCall dispatcher to the ZStack Thread.
Setup pReq (zstack_sysConfigReadReq_t) with the parameters that you would like to read (you can set one or many), call this function, pRsp (zstack_sysConfigReadRsp_t) will have the requested parameters if the return value is zstack_ZStatusValues_ZSuccess. More...
 
zstack_ZStatusValues Zstackapi_sysConfigWriteReq (ICall_EntityID appEntity, zstack_sysConfigWriteReq_t *pReq)
 Call to send a System Config Write Request, through the iCall dispatcher to the ZStack Thread. zstack_sysConfigWriteReq_t contains all the parameters that an application can change. You can set as many parameters as you like, one, two, ten or all, in the request structure, with one API call.
Each of the parameters has a "has_" field that must be set to true, along with the parameter data, for the field to be used by the ZStack thread. More...
 
zstack_ZStatusValues Zstackapi_sysSetTxPowerReq (ICall_EntityID appEntity, zstack_sysSetTxPowerReq_t *pReq, zstack_sysSetTxPowerRsp_t *pRsp)
 Call to send a System Set TX Power Request, through the iCall dispatcher to the ZStack Thread. More...
 
zstack_ZStatusValues Zstackapi_sysForceLinkStatusReq (ICall_EntityID appEntity)
 Call to send a System Force Link Status Request, through the iCall dispatcher to the ZStack Thread. Calling this function forces a Link Status to be sent, but it doesn't interrupt the normal Link Status cycle. More...
 
zstack_ZStatusValues Zstackapi_sysNwkInfoReadReq (ICall_EntityID appEntity, zstack_sysNwkInfoReadRsp_t *pRsp)
 Call to send a System Network Information Read Request, through the iCall dispatcher to the ZStack Thread. After calling this function, pRsp will contain the device's network parameters if the return value is zstack_ZStatusValues_ZSuccess. More...
 
zstack_ZStatusValues Zstackapi_DevStartReq (ICall_EntityID appEntity, zstack_devStartReq_t *pReq)
 Call to send a Device Start Request, through the iCall dispatcher to the ZStack Thread. Calling this function will start the device in the network. All of the network paramters [Zstackapi_sysConfigWriteReq()] must be set before calling this function. More...
 
zstack_ZStatusValues Zstackapi_DevNwkDiscReq (ICall_EntityID appEntity, zstack_devNwkDiscReq_t *pReq)
 Call to send a Device Network Discovery Request, through the iCall dispatcher to the ZStack Thread. More...
 
zstack_ZStatusValues Zstackapi_SetNwkFrameFwdNotificationReq (ICall_EntityID appEntity, zstack_setNwkFrameFwdNotificationReq_t *pReq)
 Call to send a Set Network Frame Forward Notification Request, through the iCall dispatcher to the ZStack Thread. More...
 
zstack_ZStatusValues Zstackapi_DevJoinReq (ICall_EntityID appEntity, zstack_devJoinReq_t *pReq)
 Call to send a Device Join Request, through the iCall dispatcher to the ZStack Thread. Use this function call to join a specific device in the manual joining process, don't call this if you are using the ZStack Thread's automatic joining process. Also, make sure to request a Join Confirm, by setting the has_joinCnfCB and joinCnfCB fields to true in zstack_devZDOCBReq_t can call Zstackapi_DevZDOCBReq(), to know when the join process is done. More...
 
zstack_ZStatusValues Zstackapi_DevRejoinReq (ICall_EntityID appEntity, zstack_devRejoinReq_t *pReq)
 Call to send a Device Rejoin Request, through the iCall dispatcher to the ZStack Thread. More...
 
zstack_ZStatusValues Zstackapi_DevZDOCBReq (ICall_EntityID appEntity, zstack_devZDOCBReq_t *pReq)
 Call to send a Device ZDO Callback Request, through the iCall dispatcher to the ZStack Thread. The zstack_devZDOCBReq_t contains all the callbacks/indications that an application can subscribe to. You can set as many callback/indications as you like, one, two, ten or all, in the request structure, with one API call.
Each of the parameters has a "has_" field that must be set to true, along with the parameter data, for the field to be used by the ZStack thread. More...
 
zstack_ZStatusValues Zstackapi_DevNwkRouteReq (ICall_EntityID appEntity, zstack_devNwkRouteReq_t *pReq)
 Call to send a Device Network Route Request, through the iCall dispatcher to the ZStack Thread. Use this command to force a Route Request. More...
 
zstack_ZStatusValues Zstackapi_DevNwkCheckRouteReq (ICall_EntityID appEntity, zstack_devNwkCheckRouteReq_t *pReq)
 Call to send a Device Network Check Request, through the iCall dispatcher to the ZStack Thread. Use this command to check if a route is active or not. More...
 
zstack_ZStatusValues Zstackapi_DevUpdateNeighborTxCostReq (ICall_EntityID appEntity, zstack_devUpdateNeighborTxCostReq_t *pReq)
 Call to send a Device Update Neighbor's TxCost Request, through the iCall dispatcher to the ZStack Thread. Use this command to change a neighbor's TX Cost value. This command is only available in a router or coordinator. More...
 
zstack_ZStatusValues Zstackapi_DevForceNetworkSettingsReq (ICall_EntityID appEntity, zstack_devForceNetworkSettingsReq_t *pReq)
 Call to send a Device Force Network Settings Request, through the iCall dispatcher to the ZStack Thread. DON'T USE this function unless you know exactly what you are doing and can live the unpredictable consequences. When this message is received, the ZStack thread will force the values in the NIB then save the NIB. It would be better to let the ZStack thread set these items as they are determined. More...
 
zstack_ZStatusValues Zstackapi_DevForceNetworkUpdateReq (ICall_EntityID appEntity, zstack_devForceNetworkUpdateReq_t *pReq)
 Call to send a Device Force Network Update Request, through the iCall dispatcher to the ZStack Thread. DON'T USE this function unless you know exactly what you are doing and can live the unpredictable consequences. When this message is received, the ZStack thread will force the values in the NIB then save the NIB. It would be better to let the ZStack thread set these items as they are determined. More...
 
zstack_ZStatusValues Zstackapi_DevForceMacParamsReq (ICall_EntityID appEntity, zstack_devForceMacParamsReq_t *pReq)
 Call to send a Device Force MAC Parameters Request, through the iCall dispatcher to the ZStack Thread. DON'T USE this function unless you know exactly what you are doing and can live the unpredictable consequences. When this message is received, the ZStack thread will force the values in the MAC. It would be better to let the ZStack thread set these items as they are determined. More...
 
zstack_ZStatusValues Zstackapi_ApsRemoveGroupReq (ICall_EntityID appEntity, zstack_apsRemoveGroup_t *pReq)
 Call to send an APS Remove Group Request, through the iCall dispatcher to the ZStack Thread. Use this command to remove a group from an endpoint. More...
 
zstack_ZStatusValues Zstackapi_ApsRemoveAllGroupsReq (ICall_EntityID appEntity, zstack_apsRemoveAllGroups_t *pReq)
 Call to send an APS Remove All Groups Request, through the iCall dispatcher to the ZStack Thread. Use this command to remove all groups from an endpoint. More...
 
zstack_ZStatusValues Zstackapi_ApsFindAllGroupsReq (ICall_EntityID appEntity, zstack_apsFindAllGroupsReq_t *pReq, zstack_apsFindAllGroupsRsp_t *pRsp)
 Call to send an APS Find All Groups Request, through the iCall dispatcher to the ZStack Thread.
Use this command to return a list of groups that exists for the given endpoint. More...
 
zstack_ZStatusValues Zstackapi_ApsFindGroupReq (ICall_EntityID appEntity, zstack_apsFindGroupReq_t *pReq, zstack_apsFindGroupRsp_t *pRsp)
 Call to send an APS Find Group Request, through the iCall dispatcher to the ZStack Thread. Use this command to return the group information (name) for a given group ID and endpoint. More...
 
zstack_ZStatusValues Zstackapi_ApsAddGroupReq (ICall_EntityID appEntity, zstack_apsAddGroup_t *pReq)
 Call to send an APS Add Group Request, through the iCall dispatcher to the ZStack Thread.
Use this command to add a group to an endpoint. More...
 
int Zstackapi_ApsCountAllGroupsReq (ICall_EntityID appEntity)
 Call to send an APS Count All Groups Request, through the iCall dispatcher to the ZStack Thread. Use this command to retrieve the number of entries in group table. For example if endpoint 1 and 2 both belong to group 1, then the count will be 2. More...
 
zstack_ZStatusValues Zstackapi_AfRegisterReq (ICall_EntityID appEntity, zstack_afRegisterReq_t *pReq)
 Call to send an AF Register Request, through the iCall dispatcher to the ZStack Thread.
Use this command to register an endpoint descriptor with the ZStack thread. This will allow the application to send and receive data messages. These command is your registry for AF Data Indications.
This command must be sent after every boot, this information is NOT saved in the ZStack Thread's non-volitile memory.
The simple descriptor, which is part of the endpoint descriptor, is used during device discovery. More...
 
zstack_ZStatusValues Zstackapi_AfUnRegisterReq (ICall_EntityID appEntity, zstack_afUnRegisterReq_t *pReq)
 Call to send an AF Unregister Request, through the iCall dispatcher to the ZStack Thread. Use this command to remove an endpoint descriptor from the ZStack Threads memory. More...
 
zstack_ZStatusValues Zstackapi_AfDataReq (ICall_EntityID appEntity, zstack_afDataReq_t *pReq)
 Call to send an AF Data Request, through the iCall dispatcher to the ZStack Thread. Use this command to send over-the-air raw data messages. More...
 
zstack_ZStatusValues Zstackapi_AfInterpanCtlReq (ICall_EntityID appEntity, zstack_afInterPanCtlReq_t *pReq)
 Call to send an AF InterPAN Control Request, through the iCall dispatcher to the ZStack Thread. More...
 
zstack_ZStatusValues Zstackapi_AfConfigGetReq (ICall_EntityID appEntity, zstack_afConfigGetReq_t *pReq, zstack_afConfigGetRsp_t *pRsp)
 Call to send an AF Config Get Request, through the iCall dispatcher to the ZStack Thread.
Use this command to retrieve the AF fragmentation configuration information for the given endpoint. More...
 
zstack_ZStatusValues Zstackapi_AfConfigSetReq (ICall_EntityID appEntity, zstack_afConfigSetReq_t *pReq)
 Call to send an AF Config Set Request, through the iCall dispatcher to the ZStack Thread.
Use this command to set the AF fragmentation configuration information for the given endpoint. More...
 
zstack_ZStatusValues Zstackapi_ZdoNwkAddrReq (ICall_EntityID appEntity, zstack_zdoNwkAddrReq_t *pReq)
 Call to send a ZDO Network Address Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Network Address Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_nwkAddrRsp and nwkAddrRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
Calling this function will generate a message to ask for the 16 bit address of the Remote Device based on its known IEEE address. This message is sent as a broadcast message to all devices in the network. More...
 
zstack_ZStatusValues Zstackapi_ZdoIeeeAddrReq (ICall_EntityID appEntity, zstack_zdoIeeeAddrReq_t *pReq)
 Call to send a ZDO IEEE Address Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air IEEE Address Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_ieeeAddrRsp and ieeeAddrRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
Calling this function will generate a message to ask for the 64 bit address of the Remote Device based on its known 16 bit network address. More...
 
zstack_ZStatusValues Zstackapi_ZdoNodeDescReq (ICall_EntityID appEntity, zstack_zdoNodeDescReq_t *pReq)
 Call to send a ZDO Node Descriptor Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Node Descriptor Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_nodeDescRsp and nodeDescRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
This call will build and send a Node Descriptor Request to the Remote Device specified in t he destination address field.
You can send this command to this device's address to perform the command locally. More...
 
zstack_ZStatusValues Zstackapi_ZdoPowerDescReq (ICall_EntityID appEntity, zstack_zdoPowerDescReq_t *pReq)
 Call to send a ZDO Power Descriptor Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Power Descriptor Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_powerDescRsp and powerDescRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
You can send this command to this device's address to perform the command locally. More...
 
zstack_ZStatusValues Zstackapi_ZdoSimpleDescReq (ICall_EntityID appEntity, zstack_zdoSimpleDescReq_t *pReq)
 Call to send a ZDO Simple Descriptor Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Simple Descriptor Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_simpleDescRsp and simpleDescRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq(). More...
 
zstack_ZStatusValues Zstackapi_ZdoActiveEndpointReq (ICall_EntityID appEntity, zstack_zdoActiveEndpointReq_t *pReq)
 Call to send a ZDO Active Endpoint Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Active Endpoint Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_activeEndpointRsp and activeEndpointRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
You can send this command to this device's address to perform the command locally. More...
 
zstack_ZStatusValues Zstackapi_ZdoMatchDescReq (ICall_EntityID appEntity, zstack_zdoMatchDescReq_t *pReq)
 Call to send a ZDO Match Descriptor Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Match Descriptor Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_matchDescRsp and matchDescRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq(). More...
 
zstack_ZStatusValues Zstackapi_ZdoComplexDescReq (ICall_EntityID appEntity, zstack_zdoComplexDescReq_t *pReq)
 Call to send a ZDO Complex Descriptor Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Complex Descriptor Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_complexDescRsp and complexDescRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
You can send this command to this device's address to perform the command locally. More...
 
zstack_ZStatusValues Zstackapi_ZdoUserDescReq (ICall_EntityID appEntity, zstack_zdoUserDescReq_t *pReq)
 Call to send a ZDO User Descriptor Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air User Descriptor Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_userDescRsp and userDescRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
You can send this command to this device's address to perform the command locally. More...
 
zstack_ZStatusValues Zstackapi_ZdoSetBindUnbindAuthAddrReq (ICall_EntityID appEntity, zstack_zdoSetBindUnbindAuthAddr_t *pReq)
 Call to send a ZDO Set BindUnbind Authentication Request, through the iCall dispatcher to the ZStack Thread.
With this command the application can restrict the permissions to bind/unbinds to a certain cluster to an especific device by setting its IEEE address. More...
 
zstack_ZStatusValues Zstackapi_ZdoDeviceAnnounceReq (ICall_EntityID appEntity, zstack_zdoDeviceAnnounceReq_t *pReq)
 Call to send a ZDO Device Announce Request, through the iCall dispatcher to the ZStack Thread. Use this command to send an over-the-air Device Announce message. There is no over-the-air response message.
This function builds and sends a Device_annce command for ZigBee end device to notify other ZigBee devices on the network that the end device has joined or rejoined the network. The command contains the device�s new 16-bit NWK address and its 64-bit IEEE address, as well as the capabilities of the ZigBee device. It is sent out as broadcast message.
On receipt of the Device_annce, all receivers shall check all internal references to the IEEE address supplied in the announce, and substitute the corresponding NWK address with the new one. No response will be sent back for Device_annce. More...
 
zstack_ZStatusValues Zstackapi_ZdoUserDescSetReq (ICall_EntityID appEntity, zstack_zdoUserDescSetReq_t *pReq)
 Call to send a ZDO User Descriptor Set Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air User Descriptor Set Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_userDescCnf and userDescCnf fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
You can send this command to this device's address to set the local user descriptor. More...
 
zstack_ZStatusValues Zstackapi_ZdoServerDiscReq (ICall_EntityID appEntity, zstack_zdoServerDiscReq_t *pReq)
 Call to send a ZDO Server Discovery Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Server Discovery Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_serverDiscoveryRsp and serverDiscoveryRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
The purpose of this request is to discover the locations of a particular system server or servers as indicated by the server mask. The message is broadcast to all device with RxOnWhenIdle. Remote devices will send responses back only if a match bit is found when comparing the received server mask with the mask stored in the local node descriptor, using unicast transmission.
You can send this command to this device's address to perform the command locally. More...
 
zstack_ZStatusValues Zstackapi_ZdoEndDeviceBindReq (ICall_EntityID appEntity, zstack_zdoEndDeviceBindReq_t *pReq)
 Call to send a ZDO End Device Bind Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air End Device Bind Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_endDeviceBindRsp and endDeviceBindRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
Send this message to attempt a hand bind for this device. After hand binding your can send indirect (no address) message to the coordinator and the coordinator will send the message to the device that this message is bound to, or you will receive messages from your new bound device. More...
 
zstack_ZStatusValues Zstackapi_ZdoBindReq (ICall_EntityID appEntity, zstack_zdoBindReq_t *pReq)
 Call to send a ZDO Bind Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Bind Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_bindRsp and bindRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
Send this message to a device to build a binding record for/on that device.
You can send this command to this device's address to create a local binding entry. More...
 
zstack_ZStatusValues Zstackapi_ZdoUnbindReq (ICall_EntityID appEntity, zstack_zdoUnbindReq_t *pReq)
 Call to send a ZDO Unbind Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Unbind Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_unbindRsp and unbindRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
Send this message to a device to remove a binding record on that device.
You can send this command to this device's address to unbind a local entry. More...
 
zstack_ZStatusValues Zstackapi_ZdoMgmtNwkDiscReq (ICall_EntityID appEntity, zstack_zdoMgmtNwkDiscReq_t *pReq)
 Call to send a ZDO Mgmt Network Discovery Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Management Network Discovery Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_mgmtNwkDiscRsp and mgmtNwkDiscRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
If the destination device supports this command (optional), calling this function will generate the request for the destination device to perform a network scan and return the result in the response message.
You can send this command to this device's address to perform the command locally. More...
 
zstack_ZStatusValues Zstackapi_ZdoMgmtLqiReq (ICall_EntityID appEntity, zstack_zdoMgmtLqiReq_t *pReq)
 Call to send a ZDO Mgmt LQI Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Management LQI Discovery Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_mgmtLqiRsp and mgmtLqiRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
If the destination device supports this command (optional), calling this function will generate the request for the destination device to return its neighbor list in the response message.
You can send this command to this device's address to perform the command locally. More...
 
zstack_ZStatusValues Zstackapi_ZdoMgmtRtgReq (ICall_EntityID appEntity, zstack_zdoMgmtRtgReq_t *pReq)
 Call to send a ZDO Mgmt Routing Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Management Routing Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_mgmtRtgRsp and mgmtRtgRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
If the destination device supports this command (optional), calling this function will generate the request for the destination device to return its routing table in the response message.
You can send this command to this device's address to perform the command locally. More...
 
zstack_ZStatusValues Zstackapi_ZdoMgmtBindReq (ICall_EntityID appEntity, zstack_zdoMgmtBindReq_t *pReq)
 Call to send a ZDO Mgmt Bind Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Management Binding Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_mgmtBindRsp and mgmtBindRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
If the destination device supports this command (optional), calling this function will generate the request for the destination device to return its binding table in the response message.
You can send this command to this device's address to perform a local Mgmt Bind command. More...
 
zstack_ZStatusValues Zstackapi_ZdoMgmtLeaveReq (ICall_EntityID appEntity, zstack_zdoMgmtLeaveReq_t *pReq)
 Call to send a ZDO Mgmt Leave Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Management Leave Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_mgmtLeaveRsp and mgmtLeaveRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
If the destination device supports this command (optional), calling this function will generate the request for the destination device or another device to leave the network.
You can send this command to this device's address to make this device leave. More...
 
zstack_ZStatusValues Zstackapi_ZdoMgmtDirectJoinReq (ICall_EntityID appEntity, zstack_zdoMgmtDirectJoinReq_t *pReq)
 Call to send a ZDO Mgmt Direct Join Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Management Direct Join Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_mgmtDirectJoinRsp and mgmtDirectJoinRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
If the destination device supports this command (optional), calling this function will generate the request for the destination device to direct join another device.
You can send this command to this device's address to make a local direct join. More...
 
zstack_ZStatusValues Zstackapi_ZdoMgmtPermitJoinReq (ICall_EntityID appEntity, zstack_zdoMgmtPermitJoinReq_t *pReq)
 Call to send a ZDO Mgmt Permit Join Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Management Permit Join Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_mgmtPermitJoinRsp and mgmtPermitJoinRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
If the destination device supports this command (optional), calling this function will generate the request for the destination device control permit joining.
You can send this command to this device's address to locally control permit joining. More...
 
zstack_ZStatusValues Zstackapi_ZdoMgmtNwkUpdateReq (ICall_EntityID appEntity, zstack_zdoMgmtNwkUpdateReq_t *pReq)
 Call to send a ZDO Mgmt Network Update Request, through the iCall dispatcher to the ZStack Thread.
This command is provided to allow updating of network configuration parameters or to request information from devices on network conditions in the local operating environment. More...
 
zstack_ZStatusValues Zstackapi_secNwkKeyGetReq (ICall_EntityID appEntity, zstack_secNwkKeyGetReq_t *pReq, zstack_secNwkKeyGetRsp_t *pRsp)
 Call to send a Security Network Key Get Request, through the iCall dispatcher to the ZStack Thread. Use this command to retrieve the active or alternate network key from the ZStack Thread. More...
 
zstack_ZStatusValues Zstackapi_secNwkKeySetReq (ICall_EntityID appEntity, zstack_secNwkKeySetReq_t *pReq)
 Call to send a Security Network Key Set Request, through the iCall dispatcher to the ZStack Thread.
Use this command to set a network key (active or alternate). More...
 
zstack_ZStatusValues Zstackapi_secNwkKeyUpdateReq (ICall_EntityID appEntity, zstack_secNwkKeyUpdateReq_t *pReq)
 Call to send a Security Network Key Update Request, through the iCall dispatcher to the ZStack Thread. Use this command to send an over-the-air network key update message. More...
 
zstack_ZStatusValues Zstackapi_secNwkKeySwitchReq (ICall_EntityID appEntity, zstack_secNwkKeySwitchReq_t *pReq)
 Call to send a Security Network Key Switch Request, through the iCall dispatcher to the ZStack Thread. Use this command to send an over-the-air network key switch message. More...
 
zstack_ZStatusValues Zstackapi_secApsLinkKeyGetReq (ICall_EntityID appEntity, zstack_secApsLinkKeyGetReq_t *pReq, zstack_secApsLinkKeyGetRsp_t *pRsp)
 Call to send a Security APS Link Key Get Request, through the iCall dispatcher to the ZStack Thread. Use this command to get an APS Link key or TC Link key from the ZStack Thread's non-volatile memory. More...
 
zstack_ZStatusValues Zstackapi_secApsLinkKeySetReq (ICall_EntityID appEntity, zstack_secApsLinkKeySetReq_t *pReq)
 Call to send a Security APS Link Key Set Request, through the iCall dispatcher to the ZStack Thread. Use this command to set an APS Link key or TC Link key into the ZStack Thread's non-volatile memory. More...
 
zstack_ZStatusValues Zstackapi_secApsLinkKeyRemoveReq (ICall_EntityID appEntity, zstack_secApsLinkKeyRemoveReq_t *pReq)
 Call to send a Security APS Link Key Remove Request, through the iCall dispatcher to the ZStack Thread. Use this command to delete an APS Link key or TC Link key from the ZStack Thread's non-volatile memory. More...
 
zstack_ZStatusValues Zstackapi_secApsRemoveReq (ICall_EntityID appEntity, zstack_secApsRemoveReq_t *pReq)
 Call to send a Security APS Remove Request (to remove a a device from the network), through the iCall dispatcher to the ZStack Thread. This only works if this device is a coordinator (Trust Center). More...
 
zstack_ZStatusValues Zstackapi_bdbStartCommissioningReq (ICall_EntityID appEntity, zstack_bdbStartCommissioningReq_t *pReq)
 Call to send a BDB Start Commissioning Request (to start the commissioning process according to the commissioning mask given). More...
 
zstack_ZStatusValues Zstackapi_bdbSetIdentifyActiveEndpointReq (ICall_EntityID appEntity, zstack_bdbSetIdentifyActiveEndpointReq_t *pReq)
 Call to send a BDB Get Identify Active Endpoint Request (to set the endpoint which will perform the finding and binding, either Target or Initiator) More...
 
zstack_ZStatusValues Zstackapi_bdbGetIdentifyActiveEndpointReq (ICall_EntityID appEntity, zstack_bdbGetIdentifyActiveEndpointRsp_t *pRsp)
 Call to send a BDB Get Identify Active Endpoint Request (to get the endpoint which will perform the finding and binding, either Target or Initiator) More...
 
zstack_ZStatusValues Zstackapi_bdbStopInitiatorFindingBindingReq (ICall_EntityID appEntity)
 
zstack_ZStatusValues Zstackapi_bdbGetZCLFrameCounterReq (ICall_EntityID appEntity, zstack_bdbGetZCLFrameCounterRsp_t *pRsp)
 Call to send a BDB Get ZCL Frame Counter Request (to get the next ZCL frame counter for packet sequence number) More...
 
zstack_ZStatusValues Zstackapi_bdbResetLocalActionReq (ICall_EntityID appEntity)
 Call to send a BDB Reset Local Action Request (to call application interface to perform BDB Reset to factory new). More...
 
zstack_ZStatusValues Zstackapi_bdbSetAttributesReq (ICall_EntityID appEntity, zstack_bdbSetAttributesReq_t *pReq)
 Call to send a BDB Set Attribute Request (to set the Base Device Behavior attributes used by the commissioning methods invoked with Zstackapi_bdbStartCommissioningReq) More...
 
zstack_ZStatusValues Zstackapi_bdbGetAttributesReq (ICall_EntityID appEntity, zstack_bdbGetAttributesRsp_t *pRsp)
 Call to send a BDB Get Attributes Request (to get the Base Device Behavior attributes used by the commissioning methods invoked with Zstackapi_bdbStartCommissioningReq) More...
 
zstack_ZStatusValues Zstackapi_bdbGetFBInitiatorStatusReq (ICall_EntityID appEntity, zstack_bdbGetFBInitiatorStatusRsp_t *pRsp)
 Call to send a BDB Get Finding and Binding Initiator Status Request (to get the remaining time and attempts to search for Finding and Binding Target devices when periodic Finding And Binding commissioning process is enabled) More...
 
zstack_ZStatusValues Zstackapi_bdbGenerateInstallCodeCRCReq (ICall_EntityID appEntity, zstack_bdbGenerateInstallCodeCRCReq_t *pReq, zstack_bdbGenerateInstallCodeCRCRsp_t *pRsp)
 Call to send a BDB Generate Install Code CRC Request (to generate CRC codes using as input an install code) More...
 
zstack_ZStatusValues Zstackapi_bdbRepAddAttrCfgRecordDefaultToListReq (ICall_EntityID appEntity, zstack_bdbRepAddAttrCfgRecordDefaultToListReq_t *pReq)
 Call to send a BDB Reporting Attribute Configuration Record Default Request (to add a default configuration value for a reportable attribute) More...
 
zstack_ZStatusValues Zstackapi_bdbRepChangedAttrValueReq (ICall_EntityID appEntity, zstack_bdbRepChangedAttrValueReq_t *pReq)
 Call to send a BDB Report Changed Attribute Value Request (to notify the stack that an attribute has changed and allow the stack to validate the triggering of a reporting attribute message) More...
 
zstack_ZStatusValues Zstackapi_bdbProcessInConfigReportCmd (ICall_EntityID appEntity, zstack_bdbProcessInConfigReportReq_t *pReq)
 Call to process an Incomming Configure Report command (to adjust the reporting mechanism and generate the response to this command) More...
 
zstack_ZStatusValues Zstackapi_bdbProcessInReadReportCfgCmd (ICall_EntityID appEntity, zstack_bdbProcessInReadReportCfgReq_t *pReq)
 Call to process an Incomming Read Reporting Configuration (to generate a response with the current report configuration) More...
 
zstack_ZStatusValues Zstackapi_bdbAddInstallCodeReq (ICall_EntityID appEntity, zstack_bdbAddInstallCodeReq_t *pReq)
 Call to send a BDB Add Install Code Request (to add an install code to be used in the commissioning process of a new joining device) ZC interface only. More...
 
zstack_ZStatusValues Zstackapi_bdbTouchLinkTargetEnableCommissioningReq (ICall_EntityID appEntity, zstack_bdbTouchLinkTargetEnableCommissioningReq_t *pReq)
 Call to send a BDB Touchlink Target Enable Commissioning Request (to enable the reception of Touchlink commissioning commands) ZR/ZED interface only. More...
 
zstack_ZStatusValues Zstackapi_bdbTouchLinkTargetDisableCommissioningReq (ICall_EntityID appEntity)
 Call to send a BDB Touchlink Target Disable Commissioning Request (to Disable the reception of commissioning commands) ZR/ZED interface only. More...
 
zstack_ZStatusValues Zstackapi_bdbTouchLinkTargetGetTimerReq (ICall_EntityID appEntity, zstack_bdbTouchLinkTargetGetTimerRsp_t *pRsp)
 Call to send a BDB Touchlink Target Get Timer Request (to get the remaining time enabled of Touchlink commissioning as Target) ZR/ZED interface only. More...
 
zstack_ZStatusValues Zstackapi_bdbSetActiveCentralizedLinkKeyReq (ICall_EntityID appEntity, zstack_bdbSetActiveCentralizedLinkKeyReq_t *pReq)
 Call to send a BDB Set Active Centralized Link Key Request (to set the active centralized key to be used: default global trust center link key Or install code derived preconfigured key) ZR/ZED interface only. More...
 
zstack_ZStatusValues Zstackapi_bdbCBKETCLinkKeyExchangeAttemptReq (ICall_EntityID appEntity, zstack_bdbCBKETCLinkKeyExchangeAttemptReq_t *pReq)
 Call to send a BDB CBKE TustCenter Link Key Exchange Attempt Request (to indicate to the stack the result of the Certificate Base Key Exchange, if any. If CBKE is not used, then just report not-success and default TrustCenterLinkKey exchange mechanism will be excecuted) ZR/ZED interface only. More...
 
zstack_ZStatusValues Zstackapi_bdbNwkDescFreeReq (ICall_EntityID appEntity, zstack_bdbNwkDescFreeReq_t *pReq)
 Call to send a BDB Network Descriptor Free Request (to release the network descriptors of those networks that are not intended to be joined) ZR/ZED interface only. More...
 
zstack_ZStatusValues Zstackapi_bdbFilterNwkDescComplete (ICall_EntityID appEntity)
 Call to send a BDB Filter Network Descriptor Comple Request (to indicate the stack that the networks that are not of interest to the application has been removed and the remaining network descritptors must be attempted to joined) ZR/ZED interface only. More...
 
zstack_ZStatusValues Zstackapi_bdbTouchlinkSetAllowStealingReq (ICall_EntityID appEntity, zstack_bdbTouchlinkSetAllowStealingReq_t *pReq)
 Call to send a BDB Touchlink Set Allow Stealing Request (to allow Touchlink stealing when Touchlink commissioning is enabled as target) ZR/ZED interface only. More...
 
zstack_ZStatusValues Zstackapi_bdbTouchlinkGetAllowStealingReq (ICall_EntityID appEntity, zstack_bdbTouchlinkGetAllowStealingRsp_t *pRsp)
 Call to send a BDB Touchlink Get Allow Stealing Request (to know if allow stealing is enabled or not) ZR/ZED interface only. More...
 
zstack_ZStatusValues Zstackapi_bdbZedAttemptRecoverNwkReq (ICall_EntityID appEntity, zstack_bdbZedAttemptRecoverNwkRsp_t *pRsp)
 Call to send a BDB ZED Attempt Recover Network Request (to instruct the ZED to try to rejoin its previews network) ZED only. More...
 
zstack_ZStatusValues Zstackapi_gpAllowChangeChannelReq (ICall_EntityID appEntity, zstack_gpAllowChangeChannelReq_t *pReq)
 
zstack_ZStatusValues Zstackapi_gpSecRsp (ICall_EntityID appEntity, zstack_gpSecRsp_t *pReq)
 
zstack_ZStatusValues Zstackapi_gpAliasConflict (ICall_EntityID appEntity, zstack_gpAddrConflict_t *pReq)
 
zstack_ZStatusValues Zstackapi_gpDecryptCommissioningKey (ICall_EntityID appEntity, zstack_gpDecryptCommissioningKey_t *pReq, zstack_gpDecryptCommissioningKeyRsp_t *pRsp)
 
zstack_ZStatusValues Zstackapi_gpEncryptCommissioningKey (ICall_EntityID appEntity, zstack_gpEncryptCommissioningKey_t *pReq, zstack_gpEncryptCommissioningKeyRsp_t *pRsp)
 
zstack_ZStatusValues Zstackapi_tlScanReqInd (ICall_EntityID appEntity, zstack_tlScanReq_t *pReq)
 
zstack_ZStatusValues Zstackapi_touchlinkNwkJoinReqInd (ICall_EntityID appEntity, zstack_touchlinkNwkJointReq_t *pReq)
 
zstack_ZStatusValues Zstackapi_touchlinkNwkUpdateReqInd (ICall_EntityID appEntity, zstack_touchlinkNwkUpdateReq_t *pReq)
 
zstack_ZStatusValues Zstackapi_tlTargetNwkStartReqInd (ICall_EntityID appEntity, zstack_tlTargetNwkStartReq_t *pReq)
 
zstack_ZStatusValues Zstackapi_tlTargetResetToFNReqInd (ICall_EntityID appEntity)
 
zstack_ZStatusValues Zstackapi_touchlinkGetScanBaseTime (ICall_EntityID appEntity, zstack_touchlinkGetScanBaseTime_t *pReq)
 
zstack_ZStatusValues Zstackapi_tlInitiatorScanRspInd (ICall_EntityID appEntity, zstack_touchlinkScanRsp_t *pReq)
 
zstack_ZStatusValues Zstackapi_tlInitiatorDevInfoRspInd (ICall_EntityID appEntity, zstack_touchlinkDevInfoRsp_t *pReq)
 
zstack_ZStatusValues Zstackapi_tlInitiatorNwkStartRspInd (ICall_EntityID appEntity, zstack_touchlinkNwkStartRsp_t *pReq)
 
zstack_ZStatusValues Zstackapi_tlInitiatorNwkJoinRspInd (ICall_EntityID appEntity, zstack_touchlinkNwkJoinRsp_t *pReq)
 
bool Zstackapi_freeIndMsg (void *pMsg)
 Call to free the memory used by an Indication message, messages sent asynchronously from the ZStack thread. More...
 

Detailed Description

ZStack C interface implementation on top of dispatcher messaging interface.

Function Documentation

§ Zstackapi_AfConfigGetReq()

zstack_ZStatusValues Zstackapi_AfConfigGetReq ( ICall_EntityID  appEntity,
zstack_afConfigGetReq_t pReq,
zstack_afConfigGetRsp_t pRsp 
)

Call to send an AF Config Get Request, through the iCall dispatcher to the ZStack Thread.
Use this command to retrieve the AF fragmentation configuration information for the given endpoint.

Call to send an AF Config Get Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_AfConfigSetReq()

zstack_ZStatusValues Zstackapi_AfConfigSetReq ( ICall_EntityID  appEntity,
zstack_afConfigSetReq_t pReq 
)

Call to send an AF Config Set Request, through the iCall dispatcher to the ZStack Thread.
Use this command to set the AF fragmentation configuration information for the given endpoint.

Call to send an AF Config Set Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_AfDataReq()

zstack_ZStatusValues Zstackapi_AfDataReq ( ICall_EntityID  appEntity,
zstack_afDataReq_t pReq 
)

Call to send an AF Data Request, through the iCall dispatcher to the ZStack Thread. Use this command to send over-the-air raw data messages.

Call to send an AF Data Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_AfInterpanCtlReq()

zstack_ZStatusValues Zstackapi_AfInterpanCtlReq ( ICall_EntityID  appEntity,
zstack_afInterPanCtlReq_t pReq 
)

Call to send an AF InterPAN Control Request, through the iCall dispatcher to the ZStack Thread.

Call to send an AF InterPAN Control Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_AfRegisterReq()

zstack_ZStatusValues Zstackapi_AfRegisterReq ( ICall_EntityID  appEntity,
zstack_afRegisterReq_t pReq 
)

Call to send an AF Register Request, through the iCall dispatcher to the ZStack Thread.
Use this command to register an endpoint descriptor with the ZStack thread. This will allow the application to send and receive data messages. These command is your registry for AF Data Indications.
This command must be sent after every boot, this information is NOT saved in the ZStack Thread's non-volitile memory.
The simple descriptor, which is part of the endpoint descriptor, is used during device discovery.

Call to send an AF Register Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_AfUnRegisterReq()

zstack_ZStatusValues Zstackapi_AfUnRegisterReq ( ICall_EntityID  appEntity,
zstack_afUnRegisterReq_t pReq 
)

Call to send an AF Unregister Request, through the iCall dispatcher to the ZStack Thread. Use this command to remove an endpoint descriptor from the ZStack Threads memory.

Call to send an AF Unregister Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ApsAddGroupReq()

zstack_ZStatusValues Zstackapi_ApsAddGroupReq ( ICall_EntityID  appEntity,
zstack_apsAddGroup_t pReq 
)

Call to send an APS Add Group Request, through the iCall dispatcher to the ZStack Thread.
Use this command to add a group to an endpoint.

Call to send an APS Add Group Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ApsCountAllGroupsReq()

int Zstackapi_ApsCountAllGroupsReq ( ICall_EntityID  appEntity)

Call to send an APS Count All Groups Request, through the iCall dispatcher to the ZStack Thread. Use this command to retrieve the number of entries in group table. For example if endpoint 1 and 2 both belong to group 1, then the count will be 2.

Call to send an APS Count All Groups Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ApsFindAllGroupsReq()

zstack_ZStatusValues Zstackapi_ApsFindAllGroupsReq ( ICall_EntityID  appEntity,
zstack_apsFindAllGroupsReq_t pReq,
zstack_apsFindAllGroupsRsp_t pRsp 
)

Call to send an APS Find All Groups Request, through the iCall dispatcher to the ZStack Thread.
Use this command to return a list of groups that exists for the given endpoint.

Call to send an APS Find All Groups Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ApsFindGroupReq()

zstack_ZStatusValues Zstackapi_ApsFindGroupReq ( ICall_EntityID  appEntity,
zstack_apsFindGroupReq_t pReq,
zstack_apsFindGroupRsp_t pRsp 
)

Call to send an APS Find Group Request, through the iCall dispatcher to the ZStack Thread. Use this command to return the group information (name) for a given group ID and endpoint.

Call to send an APS Find Group Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ApsRemoveAllGroupsReq()

zstack_ZStatusValues Zstackapi_ApsRemoveAllGroupsReq ( ICall_EntityID  appEntity,
zstack_apsRemoveAllGroups_t pReq 
)

Call to send an APS Remove All Groups Request, through the iCall dispatcher to the ZStack Thread. Use this command to remove all groups from an endpoint.

Call to send an APS Remove All Groups Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ApsRemoveGroupReq()

zstack_ZStatusValues Zstackapi_ApsRemoveGroupReq ( ICall_EntityID  appEntity,
zstack_apsRemoveGroup_t pReq 
)

Call to send an APS Remove Group Request, through the iCall dispatcher to the ZStack Thread. Use this command to remove a group from an endpoint.

Call to send an APS Remove Group Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbAddInstallCodeReq()

zstack_ZStatusValues Zstackapi_bdbAddInstallCodeReq ( ICall_EntityID  appEntity,
zstack_bdbAddInstallCodeReq_t pReq 
)

Call to send a BDB Add Install Code Request (to add an install code to be used in the commissioning process of a new joining device) ZC interface only.

Call to send a Zstackapi_bdbAddInstallCodeReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbCBKETCLinkKeyExchangeAttemptReq()

zstack_ZStatusValues Zstackapi_bdbCBKETCLinkKeyExchangeAttemptReq ( ICall_EntityID  appEntity,
zstack_bdbCBKETCLinkKeyExchangeAttemptReq_t pReq 
)

Call to send a BDB CBKE TustCenter Link Key Exchange Attempt Request (to indicate to the stack the result of the Certificate Base Key Exchange, if any. If CBKE is not used, then just report not-success and default TrustCenterLinkKey exchange mechanism will be excecuted) ZR/ZED interface only.

Call to send a Zstackapi_bdbCBKETCLinkKeyExchangeAttemptReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbFilterNwkDescComplete()

zstack_ZStatusValues Zstackapi_bdbFilterNwkDescComplete ( ICall_EntityID  appEntity)

Call to send a BDB Filter Network Descriptor Comple Request (to indicate the stack that the networks that are not of interest to the application has been removed and the remaining network descritptors must be attempted to joined) ZR/ZED interface only.

Call to send a Zstackapi_bdbNwkDescFreeReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbGenerateInstallCodeCRCReq()

zstack_ZStatusValues Zstackapi_bdbGenerateInstallCodeCRCReq ( ICall_EntityID  appEntity,
zstack_bdbGenerateInstallCodeCRCReq_t pReq,
zstack_bdbGenerateInstallCodeCRCRsp_t pRsp 
)

Call to send a BDB Generate Install Code CRC Request (to generate CRC codes using as input an install code)

Call to send a Zstackapi_bdbGenerateInstallCodeCRCReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbGetAttributesReq()

zstack_ZStatusValues Zstackapi_bdbGetAttributesReq ( ICall_EntityID  appEntity,
zstack_bdbGetAttributesRsp_t pRsp 
)

Call to send a BDB Get Attributes Request (to get the Base Device Behavior attributes used by the commissioning methods invoked with Zstackapi_bdbStartCommissioningReq)

Call to send a Zstackapi_bdbGetAttributesReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbGetFBInitiatorStatusReq()

zstack_ZStatusValues Zstackapi_bdbGetFBInitiatorStatusReq ( ICall_EntityID  appEntity,
zstack_bdbGetFBInitiatorStatusRsp_t pRsp 
)

Call to send a BDB Get Finding and Binding Initiator Status Request (to get the remaining time and attempts to search for Finding and Binding Target devices when periodic Finding And Binding commissioning process is enabled)

Call to send a Zstackapi_bdbGetFBInitiatorStatusReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbGetIdentifyActiveEndpointReq()

zstack_ZStatusValues Zstackapi_bdbGetIdentifyActiveEndpointReq ( ICall_EntityID  appEntity,
zstack_bdbGetIdentifyActiveEndpointRsp_t pRsp 
)

Call to send a BDB Get Identify Active Endpoint Request (to get the endpoint which will perform the finding and binding, either Target or Initiator)

Call to send a Zstackapi_bdbGetIdentifyActiveEndpointReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbGetZCLFrameCounterReq()

zstack_ZStatusValues Zstackapi_bdbGetZCLFrameCounterReq ( ICall_EntityID  appEntity,
zstack_bdbGetZCLFrameCounterRsp_t pRsp 
)

Call to send a BDB Get ZCL Frame Counter Request (to get the next ZCL frame counter for packet sequence number)

Call to send a Zstackapi_bdbGetZCLFrameCounterReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbNwkDescFreeReq()

zstack_ZStatusValues Zstackapi_bdbNwkDescFreeReq ( ICall_EntityID  appEntity,
zstack_bdbNwkDescFreeReq_t pReq 
)

Call to send a BDB Network Descriptor Free Request (to release the network descriptors of those networks that are not intended to be joined) ZR/ZED interface only.

Call to send a Zstackapi_bdbNwkDescFreeReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbProcessInConfigReportCmd()

zstack_ZStatusValues Zstackapi_bdbProcessInConfigReportCmd ( ICall_EntityID  appEntity,
zstack_bdbProcessInConfigReportReq_t pReq 
)

Call to process an Incomming Configure Report command (to adjust the reporting mechanism and generate the response to this command)

Call to send a Zstackapi_bdbRepChangedAttrValueReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbProcessInReadReportCfgCmd()

zstack_ZStatusValues Zstackapi_bdbProcessInReadReportCfgCmd ( ICall_EntityID  appEntity,
zstack_bdbProcessInReadReportCfgReq_t pReq 
)

Call to process an Incomming Read Reporting Configuration (to generate a response with the current report configuration)

Call to send a Zstackapi_bdbRepChangedAttrValueReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbRepAddAttrCfgRecordDefaultToListReq()

zstack_ZStatusValues Zstackapi_bdbRepAddAttrCfgRecordDefaultToListReq ( ICall_EntityID  appEntity,
zstack_bdbRepAddAttrCfgRecordDefaultToListReq_t pReq 
)

Call to send a BDB Reporting Attribute Configuration Record Default Request (to add a default configuration value for a reportable attribute)

Call to send a Zstackapi_bdbRepAddAttrCfgRecordDefaultToListReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbRepChangedAttrValueReq()

zstack_ZStatusValues Zstackapi_bdbRepChangedAttrValueReq ( ICall_EntityID  appEntity,
zstack_bdbRepChangedAttrValueReq_t pReq 
)

Call to send a BDB Report Changed Attribute Value Request (to notify the stack that an attribute has changed and allow the stack to validate the triggering of a reporting attribute message)

Call to send a Zstackapi_bdbRepChangedAttrValueReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbResetLocalActionReq()

zstack_ZStatusValues Zstackapi_bdbResetLocalActionReq ( ICall_EntityID  appEntity)

Call to send a BDB Reset Local Action Request (to call application interface to perform BDB Reset to factory new).

Call to send a Zstackapi_bdbResetLocalActionReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbSetActiveCentralizedLinkKeyReq()

zstack_ZStatusValues Zstackapi_bdbSetActiveCentralizedLinkKeyReq ( ICall_EntityID  appEntity,
zstack_bdbSetActiveCentralizedLinkKeyReq_t pReq 
)

Call to send a BDB Set Active Centralized Link Key Request (to set the active centralized key to be used: default global trust center link key Or install code derived preconfigured key) ZR/ZED interface only.

Call to send a Zstackapi_bdbSetActiveCentralizedLinkKeyReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbSetAttributesReq()

zstack_ZStatusValues Zstackapi_bdbSetAttributesReq ( ICall_EntityID  appEntity,
zstack_bdbSetAttributesReq_t pReq 
)

Call to send a BDB Set Attribute Request (to set the Base Device Behavior attributes used by the commissioning methods invoked with Zstackapi_bdbStartCommissioningReq)

Call to send a Zstackapi_bdbSetAttributesReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbSetIdentifyActiveEndpointReq()

zstack_ZStatusValues Zstackapi_bdbSetIdentifyActiveEndpointReq ( ICall_EntityID  appEntity,
zstack_bdbSetIdentifyActiveEndpointReq_t pReq 
)

Call to send a BDB Get Identify Active Endpoint Request (to set the endpoint which will perform the finding and binding, either Target or Initiator)

Call to send a Zstackapi_bdbSetIdentifyActiveEndpointReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbStartCommissioningReq()

zstack_ZStatusValues Zstackapi_bdbStartCommissioningReq ( ICall_EntityID  appEntity,
zstack_bdbStartCommissioningReq_t pReq 
)

Call to send a BDB Start Commissioning Request (to start the commissioning process according to the commissioning mask given).

Call to send a Zstackapi_bdbStartCommissioningReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbStopInitiatorFindingBindingReq()

zstack_ZStatusValues Zstackapi_bdbStopInitiatorFindingBindingReq ( ICall_EntityID  appEntity)

Call to send a Zstackapi_bdbStopInitiatorFindingBindingReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbTouchlinkGetAllowStealingReq()

zstack_ZStatusValues Zstackapi_bdbTouchlinkGetAllowStealingReq ( ICall_EntityID  appEntity,
zstack_bdbTouchlinkGetAllowStealingRsp_t pRsp 
)

Call to send a BDB Touchlink Get Allow Stealing Request (to know if allow stealing is enabled or not) ZR/ZED interface only.

Call to send a Zstackapi_bdbTouchlinkGetAllowStealingReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbTouchlinkSetAllowStealingReq()

zstack_ZStatusValues Zstackapi_bdbTouchlinkSetAllowStealingReq ( ICall_EntityID  appEntity,
zstack_bdbTouchlinkSetAllowStealingReq_t pReq 
)

Call to send a BDB Touchlink Set Allow Stealing Request (to allow Touchlink stealing when Touchlink commissioning is enabled as target) ZR/ZED interface only.

Call to send a Zstackapi_bdbTouchlinkSetAllowStealingReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbTouchLinkTargetDisableCommissioningReq()

zstack_ZStatusValues Zstackapi_bdbTouchLinkTargetDisableCommissioningReq ( ICall_EntityID  appEntity)

Call to send a BDB Touchlink Target Disable Commissioning Request (to Disable the reception of commissioning commands) ZR/ZED interface only.

Call to send a Zstackapi_bdbTouchLinkTargetDisableCommissioningReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbTouchLinkTargetEnableCommissioningReq()

zstack_ZStatusValues Zstackapi_bdbTouchLinkTargetEnableCommissioningReq ( ICall_EntityID  appEntity,
zstack_bdbTouchLinkTargetEnableCommissioningReq_t pReq 
)

Call to send a BDB Touchlink Target Enable Commissioning Request (to enable the reception of Touchlink commissioning commands) ZR/ZED interface only.

Call to send a Zstackapi_bdbTouchLinkTargetEnableCommissioningReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbTouchLinkTargetGetTimerReq()

zstack_ZStatusValues Zstackapi_bdbTouchLinkTargetGetTimerReq ( ICall_EntityID  appEntity,
zstack_bdbTouchLinkTargetGetTimerRsp_t pRsp 
)

Call to send a BDB Touchlink Target Get Timer Request (to get the remaining time enabled of Touchlink commissioning as Target) ZR/ZED interface only.

Call to send a Zstackapi_bdbTouchLinkTargetGetTimerReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_bdbZedAttemptRecoverNwkReq()

zstack_ZStatusValues Zstackapi_bdbZedAttemptRecoverNwkReq ( ICall_EntityID  appEntity,
zstack_bdbZedAttemptRecoverNwkRsp_t pRsp 
)

Call to send a BDB ZED Attempt Recover Network Request (to instruct the ZED to try to rejoin its previews network) ZED only.

Call to send a Zstackapi_bdbZedAttemptRecoverNwkReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_DevForceMacParamsReq()

zstack_ZStatusValues Zstackapi_DevForceMacParamsReq ( ICall_EntityID  appEntity,
zstack_devForceMacParamsReq_t pReq 
)

Call to send a Device Force MAC Parameters Request, through the iCall dispatcher to the ZStack Thread. DON'T USE this function unless you know exactly what you are doing and can live the unpredictable consequences. When this message is received, the ZStack thread will force the values in the MAC. It would be better to let the ZStack thread set these items as they are determined.

Call to send a Device Force MAC Params Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_DevForceNetworkSettingsReq()

zstack_ZStatusValues Zstackapi_DevForceNetworkSettingsReq ( ICall_EntityID  appEntity,
zstack_devForceNetworkSettingsReq_t pReq 
)

Call to send a Device Force Network Settings Request, through the iCall dispatcher to the ZStack Thread. DON'T USE this function unless you know exactly what you are doing and can live the unpredictable consequences. When this message is received, the ZStack thread will force the values in the NIB then save the NIB. It would be better to let the ZStack thread set these items as they are determined.

Call to send a Device Force Network Settings Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_DevForceNetworkUpdateReq()

zstack_ZStatusValues Zstackapi_DevForceNetworkUpdateReq ( ICall_EntityID  appEntity,
zstack_devForceNetworkUpdateReq_t pReq 
)

Call to send a Device Force Network Update Request, through the iCall dispatcher to the ZStack Thread. DON'T USE this function unless you know exactly what you are doing and can live the unpredictable consequences. When this message is received, the ZStack thread will force the values in the NIB then save the NIB. It would be better to let the ZStack thread set these items as they are determined.

Call to send a Device Force Network Update Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_DevJoinReq()

zstack_ZStatusValues Zstackapi_DevJoinReq ( ICall_EntityID  appEntity,
zstack_devJoinReq_t pReq 
)

Call to send a Device Join Request, through the iCall dispatcher to the ZStack Thread. Use this function call to join a specific device in the manual joining process, don't call this if you are using the ZStack Thread's automatic joining process. Also, make sure to request a Join Confirm, by setting the has_joinCnfCB and joinCnfCB fields to true in zstack_devZDOCBReq_t can call Zstackapi_DevZDOCBReq(), to know when the join process is done.

Call to send a Device Join Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_DevNwkCheckRouteReq()

zstack_ZStatusValues Zstackapi_DevNwkCheckRouteReq ( ICall_EntityID  appEntity,
zstack_devNwkCheckRouteReq_t pReq 
)

Call to send a Device Network Check Request, through the iCall dispatcher to the ZStack Thread. Use this command to check if a route is active or not.

Call to send a Device Network Check Route Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_DevNwkDiscReq()

zstack_ZStatusValues Zstackapi_DevNwkDiscReq ( ICall_EntityID  appEntity,
zstack_devNwkDiscReq_t pReq 
)

Call to send a Device Network Discovery Request, through the iCall dispatcher to the ZStack Thread.

Call to send a Device Network Discovery Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_DevNwkRouteReq()

zstack_ZStatusValues Zstackapi_DevNwkRouteReq ( ICall_EntityID  appEntity,
zstack_devNwkRouteReq_t pReq 
)

Call to send a Device Network Route Request, through the iCall dispatcher to the ZStack Thread. Use this command to force a Route Request.

Call to send a Device Network Route Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_DevRejoinReq()

zstack_ZStatusValues Zstackapi_DevRejoinReq ( ICall_EntityID  appEntity,
zstack_devRejoinReq_t pReq 
)

Call to send a Device Rejoin Request, through the iCall dispatcher to the ZStack Thread.

Call to send a Device Rejoin Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_DevStartReq()

zstack_ZStatusValues Zstackapi_DevStartReq ( ICall_EntityID  appEntity,
zstack_devStartReq_t pReq 
)

Call to send a Device Start Request, through the iCall dispatcher to the ZStack Thread. Calling this function will start the device in the network. All of the network paramters [Zstackapi_sysConfigWriteReq()] must be set before calling this function.

Call to send a Device Start Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_DevUpdateNeighborTxCostReq()

zstack_ZStatusValues Zstackapi_DevUpdateNeighborTxCostReq ( ICall_EntityID  appEntity,
zstack_devUpdateNeighborTxCostReq_t pReq 
)

Call to send a Device Update Neighbor's TxCost Request, through the iCall dispatcher to the ZStack Thread. Use this command to change a neighbor's TX Cost value. This command is only available in a router or coordinator.

Call to send a Device Update Neighbor's TxCost Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_DevZDOCBReq()

zstack_ZStatusValues Zstackapi_DevZDOCBReq ( ICall_EntityID  appEntity,
zstack_devZDOCBReq_t pReq 
)

Call to send a Device ZDO Callback Request, through the iCall dispatcher to the ZStack Thread. The zstack_devZDOCBReq_t contains all the callbacks/indications that an application can subscribe to. You can set as many callback/indications as you like, one, two, ten or all, in the request structure, with one API call.
Each of the parameters has a "has_" field that must be set to true, along with the parameter data, for the field to be used by the ZStack thread.

Call to send a Device ZDO Callback Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_freeIndMsg()

bool Zstackapi_freeIndMsg ( void *  pMsg)

Call to free the memory used by an Indication message, messages sent asynchronously from the ZStack thread.

Call to free the memory used by an Indication message, messages sent asynchronously from the ZStack thread.

Public function defined in zstackapi.h

§ Zstackapi_gpAliasConflict()

zstack_ZStatusValues Zstackapi_gpAliasConflict ( ICall_EntityID  appEntity,
zstack_gpAddrConflict_t pReq 
)

Call to send a Zstackapi_gpAliasConflict, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_gpAllowChangeChannelReq()

zstack_ZStatusValues Zstackapi_gpAllowChangeChannelReq ( ICall_EntityID  appEntity,
zstack_gpAllowChangeChannelReq_t pReq 
)

Call to send a Zstackapi_gpAllowChangeChannelReq, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_gpDecryptCommissioningKey()

zstack_ZStatusValues Zstackapi_gpDecryptCommissioningKey ( ICall_EntityID  appEntity,
zstack_gpDecryptCommissioningKey_t pReq,
zstack_gpDecryptCommissioningKeyRsp_t pRsp 
)

Call to send a Zstackapi_gpDecryptCommissioningKey, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_gpEncryptCommissioningKey()

zstack_ZStatusValues Zstackapi_gpEncryptCommissioningKey ( ICall_EntityID  appEntity,
zstack_gpEncryptCommissioningKey_t pReq,
zstack_gpEncryptCommissioningKeyRsp_t pRsp 
)

Call to send a Zstackapi_gpEncryptCommissioningKey, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_gpSecRsp()

zstack_ZStatusValues Zstackapi_gpSecRsp ( ICall_EntityID  appEntity,
zstack_gpSecRsp_t pReq 
)

Call to send a Zstackapi_gpSecRsp, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_secApsLinkKeyGetReq()

zstack_ZStatusValues Zstackapi_secApsLinkKeyGetReq ( ICall_EntityID  appEntity,
zstack_secApsLinkKeyGetReq_t pReq,
zstack_secApsLinkKeyGetRsp_t pRsp 
)

Call to send a Security APS Link Key Get Request, through the iCall dispatcher to the ZStack Thread. Use this command to get an APS Link key or TC Link key from the ZStack Thread's non-volatile memory.

Call to send a Security APS Link Key Get Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_secApsLinkKeyRemoveReq()

zstack_ZStatusValues Zstackapi_secApsLinkKeyRemoveReq ( ICall_EntityID  appEntity,
zstack_secApsLinkKeyRemoveReq_t pReq 
)

Call to send a Security APS Link Key Remove Request, through the iCall dispatcher to the ZStack Thread. Use this command to delete an APS Link key or TC Link key from the ZStack Thread's non-volatile memory.

Call to send a Security APS Link Key Remove Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_secApsLinkKeySetReq()

zstack_ZStatusValues Zstackapi_secApsLinkKeySetReq ( ICall_EntityID  appEntity,
zstack_secApsLinkKeySetReq_t pReq 
)

Call to send a Security APS Link Key Set Request, through the iCall dispatcher to the ZStack Thread. Use this command to set an APS Link key or TC Link key into the ZStack Thread's non-volatile memory.

Call to send a Security APS Link Key Set Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_secApsRemoveReq()

zstack_ZStatusValues Zstackapi_secApsRemoveReq ( ICall_EntityID  appEntity,
zstack_secApsRemoveReq_t pReq 
)

Call to send a Security APS Remove Request (to remove a a device from the network), through the iCall dispatcher to the ZStack Thread. This only works if this device is a coordinator (Trust Center).

Call to send a Security APS Remove Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_secNwkKeyGetReq()

zstack_ZStatusValues Zstackapi_secNwkKeyGetReq ( ICall_EntityID  appEntity,
zstack_secNwkKeyGetReq_t pReq,
zstack_secNwkKeyGetRsp_t pRsp 
)

Call to send a Security Network Key Get Request, through the iCall dispatcher to the ZStack Thread. Use this command to retrieve the active or alternate network key from the ZStack Thread.

Call to send a Security Network Key Get Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_secNwkKeySetReq()

zstack_ZStatusValues Zstackapi_secNwkKeySetReq ( ICall_EntityID  appEntity,
zstack_secNwkKeySetReq_t pReq 
)

Call to send a Security Network Key Set Request, through the iCall dispatcher to the ZStack Thread.
Use this command to set a network key (active or alternate).

Call to send a Security Network Key Set Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_secNwkKeySwitchReq()

zstack_ZStatusValues Zstackapi_secNwkKeySwitchReq ( ICall_EntityID  appEntity,
zstack_secNwkKeySwitchReq_t pReq 
)

Call to send a Security Network Key Switch Request, through the iCall dispatcher to the ZStack Thread. Use this command to send an over-the-air network key switch message.

Call to send a Security Network Key Switch Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_secNwkKeyUpdateReq()

zstack_ZStatusValues Zstackapi_secNwkKeyUpdateReq ( ICall_EntityID  appEntity,
zstack_secNwkKeyUpdateReq_t pReq 
)

Call to send a Security Network Key Update Request, through the iCall dispatcher to the ZStack Thread. Use this command to send an over-the-air network key update message.

Call to send a Security Network Key Update Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_SetNwkFrameFwdNotificationReq()

zstack_ZStatusValues Zstackapi_SetNwkFrameFwdNotificationReq ( ICall_EntityID  appEntity,
zstack_setNwkFrameFwdNotificationReq_t pReq 
)

Call to send a Set Network Frame Forward Notification Request, through the iCall dispatcher to the ZStack Thread.

Call to Enable/disable Frame forward notification, through the iCall dispatcher to the ZStack Thread. This will enable stack notifications whenever a frame is being forwared to another node in the network to allow traffic analysis.

Public function defined in zstackapi.h

§ Zstackapi_sysConfigReadReq()

zstack_ZStatusValues Zstackapi_sysConfigReadReq ( ICall_EntityID  appEntity,
zstack_sysConfigReadReq_t pReq,
zstack_sysConfigReadRsp_t pRsp 
)

Call to send a System Config Read Request, through the iCall dispatcher to the ZStack Thread.
Setup pReq (zstack_sysConfigReadReq_t) with the parameters that you would like to read (you can set one or many), call this function, pRsp (zstack_sysConfigReadRsp_t) will have the requested parameters if the return value is zstack_ZStatusValues_ZSuccess.

Call to send a System Version Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_sysConfigWriteReq()

zstack_ZStatusValues Zstackapi_sysConfigWriteReq ( ICall_EntityID  appEntity,
zstack_sysConfigWriteReq_t pReq 
)

Call to send a System Config Write Request, through the iCall dispatcher to the ZStack Thread. zstack_sysConfigWriteReq_t contains all the parameters that an application can change. You can set as many parameters as you like, one, two, ten or all, in the request structure, with one API call.
Each of the parameters has a "has_" field that must be set to true, along with the parameter data, for the field to be used by the ZStack thread.

Call to send a System Reset Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_sysForceLinkStatusReq()

zstack_ZStatusValues Zstackapi_sysForceLinkStatusReq ( ICall_EntityID  appEntity)

Call to send a System Force Link Status Request, through the iCall dispatcher to the ZStack Thread. Calling this function forces a Link Status to be sent, but it doesn't interrupt the normal Link Status cycle.

Call to send a System Force Link Status Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_sysNwkInfoReadReq()

zstack_ZStatusValues Zstackapi_sysNwkInfoReadReq ( ICall_EntityID  appEntity,
zstack_sysNwkInfoReadRsp_t pRsp 
)

Call to send a System Network Information Read Request, through the iCall dispatcher to the ZStack Thread. After calling this function, pRsp will contain the device's network parameters if the return value is zstack_ZStatusValues_ZSuccess.

Call to send a System Network Info Read Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_sysResetReq()

zstack_ZStatusValues Zstackapi_sysResetReq ( ICall_EntityID  appEntity,
zstack_sysResetReq_t pReq 
)

Call to send a System Reset Request, through the iCall dispatcher to the ZStack Thread.

Call to send a System Reset Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_sysSetTxPowerReq()

zstack_ZStatusValues Zstackapi_sysSetTxPowerReq ( ICall_EntityID  appEntity,
zstack_sysSetTxPowerReq_t pReq,
zstack_sysSetTxPowerRsp_t pRsp 
)

Call to send a System Set TX Power Request, through the iCall dispatcher to the ZStack Thread.

Call to send a System Set TX Power Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_sysVersionReq()

zstack_ZStatusValues Zstackapi_sysVersionReq ( ICall_EntityID  appEntity,
zstack_sysVersionRsp_t pRsp 
)

Call to send a System Version Request, through the iCall dispatcher to the ZStack Thread.
Returns the core ZStack version (major, minor, maintenance).

Call to send a System Version Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_tlInitiatorDevInfoRspInd()

zstack_ZStatusValues Zstackapi_tlInitiatorDevInfoRspInd ( ICall_EntityID  appEntity,
zstack_touchlinkDevInfoRsp_t pReq 
)

Call to send a Zstackapi_tlInitiatorDevInfoRspInd, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_tlInitiatorNwkJoinRspInd()

zstack_ZStatusValues Zstackapi_tlInitiatorNwkJoinRspInd ( ICall_EntityID  appEntity,
zstack_touchlinkNwkJoinRsp_t pReq 
)

Call to send a Zstackapi_tlInitiatorNwkJoinRspInd, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_tlInitiatorNwkStartRspInd()

zstack_ZStatusValues Zstackapi_tlInitiatorNwkStartRspInd ( ICall_EntityID  appEntity,
zstack_touchlinkNwkStartRsp_t pReq 
)

Call to send a Zstackapi_tlInitiatorNwkStartRspInd, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_tlInitiatorScanRspInd()

zstack_ZStatusValues Zstackapi_tlInitiatorScanRspInd ( ICall_EntityID  appEntity,
zstack_touchlinkScanRsp_t pReq 
)

Call to send a Zstackapi_tlInitiatorScanRspInd, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_tlScanReqInd()

zstack_ZStatusValues Zstackapi_tlScanReqInd ( ICall_EntityID  appEntity,
zstack_tlScanReq_t pReq 
)

Call to send a Zstackapi_tlScanReqInd, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_tlTargetNwkStartReqInd()

zstack_ZStatusValues Zstackapi_tlTargetNwkStartReqInd ( ICall_EntityID  appEntity,
zstack_tlTargetNwkStartReq_t pReq 
)

Call to send a Zstackapi_tlTargetNwkStartReqInd, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_tlTargetResetToFNReqInd()

zstack_ZStatusValues Zstackapi_tlTargetResetToFNReqInd ( ICall_EntityID  appEntity)

Call to send a Zstackapi_tlTargetResetToFNReqInd, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_touchlinkGetScanBaseTime()

zstack_ZStatusValues Zstackapi_touchlinkGetScanBaseTime ( ICall_EntityID  appEntity,
zstack_touchlinkGetScanBaseTime_t pReq 
)

Call to send a Zstackapi_touchlinkGetScanBaseTime, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_touchlinkNwkJoinReqInd()

zstack_ZStatusValues Zstackapi_touchlinkNwkJoinReqInd ( ICall_EntityID  appEntity,
zstack_touchlinkNwkJointReq_t pReq 
)

Call to send a Zstackapi_touchlinkNwkJoinReqInd, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_touchlinkNwkUpdateReqInd()

zstack_ZStatusValues Zstackapi_touchlinkNwkUpdateReqInd ( ICall_EntityID  appEntity,
zstack_touchlinkNwkUpdateReq_t pReq 
)

Call to send a Zstackapi_touchlinkNwkUpdateReqInd, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoActiveEndpointReq()

zstack_ZStatusValues Zstackapi_ZdoActiveEndpointReq ( ICall_EntityID  appEntity,
zstack_zdoActiveEndpointReq_t pReq 
)

Call to send a ZDO Active Endpoint Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Active Endpoint Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_activeEndpointRsp and activeEndpointRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
You can send this command to this device's address to perform the command locally.

Call to send a ZDO Active Endpoint Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoBindReq()

zstack_ZStatusValues Zstackapi_ZdoBindReq ( ICall_EntityID  appEntity,
zstack_zdoBindReq_t pReq 
)

Call to send a ZDO Bind Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Bind Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_bindRsp and bindRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
Send this message to a device to build a binding record for/on that device.
You can send this command to this device's address to create a local binding entry.

Call to send a ZDO Bind Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoComplexDescReq()

zstack_ZStatusValues Zstackapi_ZdoComplexDescReq ( ICall_EntityID  appEntity,
zstack_zdoComplexDescReq_t pReq 
)

Call to send a ZDO Complex Descriptor Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Complex Descriptor Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_complexDescRsp and complexDescRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
You can send this command to this device's address to perform the command locally.

Call to send a ZDO Complex Descriptor Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoDeviceAnnounceReq()

zstack_ZStatusValues Zstackapi_ZdoDeviceAnnounceReq ( ICall_EntityID  appEntity,
zstack_zdoDeviceAnnounceReq_t pReq 
)

Call to send a ZDO Device Announce Request, through the iCall dispatcher to the ZStack Thread. Use this command to send an over-the-air Device Announce message. There is no over-the-air response message.
This function builds and sends a Device_annce command for ZigBee end device to notify other ZigBee devices on the network that the end device has joined or rejoined the network. The command contains the device�s new 16-bit NWK address and its 64-bit IEEE address, as well as the capabilities of the ZigBee device. It is sent out as broadcast message.
On receipt of the Device_annce, all receivers shall check all internal references to the IEEE address supplied in the announce, and substitute the corresponding NWK address with the new one. No response will be sent back for Device_annce.

Call to send a ZDO Device Announce Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoEndDeviceBindReq()

zstack_ZStatusValues Zstackapi_ZdoEndDeviceBindReq ( ICall_EntityID  appEntity,
zstack_zdoEndDeviceBindReq_t pReq 
)

Call to send a ZDO End Device Bind Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air End Device Bind Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_endDeviceBindRsp and endDeviceBindRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
Send this message to attempt a hand bind for this device. After hand binding your can send indirect (no address) message to the coordinator and the coordinator will send the message to the device that this message is bound to, or you will receive messages from your new bound device.

Call to send a ZDO End Device Bind Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoIeeeAddrReq()

zstack_ZStatusValues Zstackapi_ZdoIeeeAddrReq ( ICall_EntityID  appEntity,
zstack_zdoIeeeAddrReq_t pReq 
)

Call to send a ZDO IEEE Address Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air IEEE Address Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_ieeeAddrRsp and ieeeAddrRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
Calling this function will generate a message to ask for the 64 bit address of the Remote Device based on its known 16 bit network address.

Call to send a ZDO IEEE Address Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoMatchDescReq()

zstack_ZStatusValues Zstackapi_ZdoMatchDescReq ( ICall_EntityID  appEntity,
zstack_zdoMatchDescReq_t pReq 
)

Call to send a ZDO Match Descriptor Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Match Descriptor Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_matchDescRsp and matchDescRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().

Call to send a ZDO Match Descriptor Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoMgmtBindReq()

zstack_ZStatusValues Zstackapi_ZdoMgmtBindReq ( ICall_EntityID  appEntity,
zstack_zdoMgmtBindReq_t pReq 
)

Call to send a ZDO Mgmt Bind Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Management Binding Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_mgmtBindRsp and mgmtBindRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
If the destination device supports this command (optional), calling this function will generate the request for the destination device to return its binding table in the response message.
You can send this command to this device's address to perform a local Mgmt Bind command.

Call to send a ZDO Mgmt Bind Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoMgmtDirectJoinReq()

zstack_ZStatusValues Zstackapi_ZdoMgmtDirectJoinReq ( ICall_EntityID  appEntity,
zstack_zdoMgmtDirectJoinReq_t pReq 
)

Call to send a ZDO Mgmt Direct Join Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Management Direct Join Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_mgmtDirectJoinRsp and mgmtDirectJoinRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
If the destination device supports this command (optional), calling this function will generate the request for the destination device to direct join another device.
You can send this command to this device's address to make a local direct join.

Call to send a ZDO Mgmt Direct Join Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoMgmtLeaveReq()

zstack_ZStatusValues Zstackapi_ZdoMgmtLeaveReq ( ICall_EntityID  appEntity,
zstack_zdoMgmtLeaveReq_t pReq 
)

Call to send a ZDO Mgmt Leave Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Management Leave Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_mgmtLeaveRsp and mgmtLeaveRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
If the destination device supports this command (optional), calling this function will generate the request for the destination device or another device to leave the network.
You can send this command to this device's address to make this device leave.

Call to send a ZDO Mgmt Leave Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoMgmtLqiReq()

zstack_ZStatusValues Zstackapi_ZdoMgmtLqiReq ( ICall_EntityID  appEntity,
zstack_zdoMgmtLqiReq_t pReq 
)

Call to send a ZDO Mgmt LQI Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Management LQI Discovery Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_mgmtLqiRsp and mgmtLqiRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
If the destination device supports this command (optional), calling this function will generate the request for the destination device to return its neighbor list in the response message.
You can send this command to this device's address to perform the command locally.

Call to send a ZDO Mgmt LQI Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoMgmtNwkDiscReq()

zstack_ZStatusValues Zstackapi_ZdoMgmtNwkDiscReq ( ICall_EntityID  appEntity,
zstack_zdoMgmtNwkDiscReq_t pReq 
)

Call to send a ZDO Mgmt Network Discovery Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Management Network Discovery Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_mgmtNwkDiscRsp and mgmtNwkDiscRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
If the destination device supports this command (optional), calling this function will generate the request for the destination device to perform a network scan and return the result in the response message.
You can send this command to this device's address to perform the command locally.

Call to send a ZDO Mgmt Network Discovery Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoMgmtNwkUpdateReq()

zstack_ZStatusValues Zstackapi_ZdoMgmtNwkUpdateReq ( ICall_EntityID  appEntity,
zstack_zdoMgmtNwkUpdateReq_t pReq 
)

Call to send a ZDO Mgmt Network Update Request, through the iCall dispatcher to the ZStack Thread.
This command is provided to allow updating of network configuration parameters or to request information from devices on network conditions in the local operating environment.

Call to send a ZDO Mgmt Network Update Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoMgmtPermitJoinReq()

zstack_ZStatusValues Zstackapi_ZdoMgmtPermitJoinReq ( ICall_EntityID  appEntity,
zstack_zdoMgmtPermitJoinReq_t pReq 
)

Call to send a ZDO Mgmt Permit Join Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Management Permit Join Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_mgmtPermitJoinRsp and mgmtPermitJoinRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
If the destination device supports this command (optional), calling this function will generate the request for the destination device control permit joining.
You can send this command to this device's address to locally control permit joining.

Call to send a ZDO Mgmt Permit Join Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoMgmtRtgReq()

zstack_ZStatusValues Zstackapi_ZdoMgmtRtgReq ( ICall_EntityID  appEntity,
zstack_zdoMgmtRtgReq_t pReq 
)

Call to send a ZDO Mgmt Routing Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Management Routing Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_mgmtRtgRsp and mgmtRtgRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
If the destination device supports this command (optional), calling this function will generate the request for the destination device to return its routing table in the response message.
You can send this command to this device's address to perform the command locally.

Call to send a ZDO Mgmt Routing Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoNodeDescReq()

zstack_ZStatusValues Zstackapi_ZdoNodeDescReq ( ICall_EntityID  appEntity,
zstack_zdoNodeDescReq_t pReq 
)

Call to send a ZDO Node Descriptor Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Node Descriptor Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_nodeDescRsp and nodeDescRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
This call will build and send a Node Descriptor Request to the Remote Device specified in t he destination address field.
You can send this command to this device's address to perform the command locally.

Call to send a ZDO Node Descriptor Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoNwkAddrReq()

zstack_ZStatusValues Zstackapi_ZdoNwkAddrReq ( ICall_EntityID  appEntity,
zstack_zdoNwkAddrReq_t pReq 
)

Call to send a ZDO Network Address Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Network Address Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_nwkAddrRsp and nwkAddrRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
Calling this function will generate a message to ask for the 16 bit address of the Remote Device based on its known IEEE address. This message is sent as a broadcast message to all devices in the network.

Call to send a ZDO Network Address Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoPowerDescReq()

zstack_ZStatusValues Zstackapi_ZdoPowerDescReq ( ICall_EntityID  appEntity,
zstack_zdoPowerDescReq_t pReq 
)

Call to send a ZDO Power Descriptor Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Power Descriptor Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_powerDescRsp and powerDescRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
You can send this command to this device's address to perform the command locally.

Call to send a ZDO Power Descriptor Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoServerDiscReq()

zstack_ZStatusValues Zstackapi_ZdoServerDiscReq ( ICall_EntityID  appEntity,
zstack_zdoServerDiscReq_t pReq 
)

Call to send a ZDO Server Discovery Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Server Discovery Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_serverDiscoveryRsp and serverDiscoveryRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
The purpose of this request is to discover the locations of a particular system server or servers as indicated by the server mask. The message is broadcast to all device with RxOnWhenIdle. Remote devices will send responses back only if a match bit is found when comparing the received server mask with the mask stored in the local node descriptor, using unicast transmission.
You can send this command to this device's address to perform the command locally.

Call to send a ZDO Server Discovery Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoSetBindUnbindAuthAddrReq()

zstack_ZStatusValues Zstackapi_ZdoSetBindUnbindAuthAddrReq ( ICall_EntityID  appEntity,
zstack_zdoSetBindUnbindAuthAddr_t pReq 
)

Call to send a ZDO Set BindUnbind Authentication Request, through the iCall dispatcher to the ZStack Thread.
With this command the application can restrict the permissions to bind/unbinds to a certain cluster to an especific device by setting its IEEE address.

Call to set Bind/Unbind authenticated address through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoSimpleDescReq()

zstack_ZStatusValues Zstackapi_ZdoSimpleDescReq ( ICall_EntityID  appEntity,
zstack_zdoSimpleDescReq_t pReq 
)

Call to send a ZDO Simple Descriptor Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Simple Descriptor Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_simpleDescRsp and simpleDescRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().

Call to send a ZDO Simple Descriptor Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoUnbindReq()

zstack_ZStatusValues Zstackapi_ZdoUnbindReq ( ICall_EntityID  appEntity,
zstack_zdoUnbindReq_t pReq 
)

Call to send a ZDO Unbind Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air Unbind Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_unbindRsp and unbindRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
Send this message to a device to remove a binding record on that device.
You can send this command to this device's address to unbind a local entry.

Call to send a ZDO Unbind Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoUserDescReq()

zstack_ZStatusValues Zstackapi_ZdoUserDescReq ( ICall_EntityID  appEntity,
zstack_zdoUserDescReq_t pReq 
)

Call to send a ZDO User Descriptor Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air User Descriptor Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_userDescRsp and userDescRsp fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
You can send this command to this device's address to perform the command locally.

Call to send a ZDO User Descriptor Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h

§ Zstackapi_ZdoUserDescSetReq()

zstack_ZStatusValues Zstackapi_ZdoUserDescSetReq ( ICall_EntityID  appEntity,
zstack_zdoUserDescSetReq_t pReq 
)

Call to send a ZDO User Descriptor Set Request, through the iCall dispatcher to the ZStack Thread.
Use this command to send an over-the-air User Descriptor Set Request message. This function will not wait for the over-the-air response message, you will need to subscribe to response message by setting the has_userDescCnf and userDescCnf fields of zstack_devZDOCBReq_t to true and calling Zstackapi_DevZDOCBReq().
You can send this command to this device's address to set the local user descriptor.

Call to send a ZDO User Descriptor Set Request, through the iCall dispatcher to the ZStack Thread.

Public function defined in zstackapi.h