NetSim Source Code Help
Loading...
Searching...
No Matches
Component 6/ZigBee/Superframe.c File Reference
#include "main.h"
#include "802_15_4.h"
Include dependency graph for Component 6/ZigBee/Superframe.c:

Go to the source code of this file.

Functions

int fn_NetSim_Zigbee_SuperFrameInitialization (SUPERFRAME **ppstruSuperFrame, NETSIM_ID nGlobalPANCoordinatorId, METRICS **pstruMetrics)
 

Function Documentation

◆ fn_NetSim_Zigbee_SuperFrameInitialization()

int fn_NetSim_Zigbee_SuperFrameInitialization ( SUPERFRAME **  ppstruSuperFrame,
NETSIM_ID  nGlobalPANCoordinatorId,
METRICS **  pstruMetrics 
)

The format of the superframe is defined by the coordinator. The superframe is bounded by network beacons sent by the coordinator and is divided into 16 equally sized slots. Optionally, the superframe can have an active and an inactive portion. During the inactive portion, the coordinator may enter a low-power mode. The beacon frame is transmitted in the first slot of each superframe. If a coordinator does not wish to use a superframe structure, it will turn off the beacon transmissions.The beacons are used to synchronize the attached devices, to identify the PAN, and to describe the structure of the superframes.

Definition at line 25 of file Component 6/ZigBee/Superframe.c.

Here is the call graph for this function: