#include <macAddr.h>
#include <appFramework.h>
#include <aps.h>
#include <configServer.h>
Go to the source code of this file.
The file describes the public interface and types of ZDO
Definition in file zdo.h.
anonymous enum |
enum AddrMode_t |
enum NetLostReason_t |
enum ZDO_NwkStatus_t |
enum ZDO_Status_t |
ZDO result status primitives.
enum ZDO_ZdpClusterId_t |
The ZDP clusters ID list.
The ZDP cluster ID determines the type of ZDP request/confirm
void ZDO_GetChildrenAddr | ( | ZDO_GetChildrenAddr_t * | childrenAddr | ) |
Request of children information.
This function requests children information of the node.
[in] | req | - Determines the parameters of the request. |
void ZDO_GetLqiRssi | ( | ZDO_GetLqiRssi_t * | lqiRssi | ) |
Request of LQI and RSSI.
This function requests LQI and RSSI of an remote node.
[in] | req | - Determines the parameters of the request. |
ZDO_NwkStatus_t ZDO_GetNwkStatus | ( | ) |
Gets network status.
This function returns network status.
void ZDO_GetParentAddr | ( | NodeAddr_t * | parentAddr | ) |
Request of parent information.
This function requests parent information of the node.
[in] | req | - Determines the parameters of the request. |
void ZDO_MgmtNwkUpdateNotf | ( | ZDO_MgmtNwkUpdateNotf_t * | nwkParams | ) |
Indicates about network parameters update.
The function should be defined by an application. It is called when the device has resolved address/panid conflict or rejoined the network
[out] | nwkUpdateParams | - Describes the reason of network update and new parameters. |
void ZDO_ResetNetworkReq | ( | ZDO_ResetNetworkReq_t * | resetParams | ) |
Resets the stack without any commands to the network.
This function resets the stack to default state. No data is send to the network.
[in] | resetParams | - Determines the parameters of the request |
void ZDO_SetTxPowerReq | ( | ZDO_SetTxPowerReq_t * | req | ) |
Setting of tx power.
This function sets tx power.
[in] | req | - Determines the parameters of the request. |
void ZDO_SleepInd | ( | void | ) |
Indicates to an application that the stack is ready to sleep.
After this function the stack is waiting for response. An application should stop and close all HW activities, sending data and commands to the stack and wait all confirmations from the stack, after which the application should call ZDO_SleepResp.
void ZDO_SleepReq | ( | ZDO_SleepReq_t * | req | ) |
Puts the device to sleep mode.
This function can be used only when the active period in Config Server is set to 0. The time of sleep period is determined by CS_END_DEVICE_SLEEP_PERIOD in Config Server.
[in] | sleepParams | - Determines the sleep parameters. |
void ZDO_SleepResp | ( | void | ) |
Responds to the stack that an application is ready to sleep.
The function should be called in response to ZDO_SleepInd. It can be called only after stopping all HW and stack activities. On receiving this function call, stack goes to sleep mode.
void ZDO_StartNetworkReq | ( | ZDO_StartNetworkReq_t * | startingParams | ) |
Starts network for coordinator and joins the network for router.
This function forms a network for coordinator and joins an existing network for router or end device.
[in] | startingParams | - Determines the network parameters for join and formation |
void ZDO_WakeUpInd | ( | void | ) |
Indicates to an application that the stack sleep timer has fired.
If the stack is in sleep mode, it wakes up and is ready to work. Application can continue its activities.
void ZDO_WakeUpReq | ( | ZDO_WakeUpReq_t * | req | ) |
Forces the stack to wake up from the sleep mode.
This function is used by an application when the sleep timer is not used and an application is woken up from sleep mode by an external interrupt.
[in] | wakeUpParams | - Determines the parameters of the wakeup request |
void ZDO_ZdpReq | ( | ZDO_ZdpReq_t * | zdpReq | ) |