How To Forbid Node From Searching Network, Or Extend The Interval For Sending Beacon Request; How To Put End Device Into Low Power Consumption Mode, How To Set Up Sleep Time; What New Features Does Zigbee 3.0 Stack Have - Ebyte E18 Series User Manual

Wireless module
Hide thumbs Also See for E18 Series:
Table of Contents

Advertisement

CC2530 Wireless Module
How to select the 64-bit MAC address of the device?
There are two IEEE addresses in CC2530/CC2538/CC2630, one is Primary IEEE address, the other is Secondary address. Primary IEEE
address is stored in Information Page of the chip, this address is bought by TI from IEEE, each chip has one unique address. Users could
only Read this value and cannot modify or erase it. By reading the address in the protocol stack, users can obtain
osal_memcpy(aExtendedAddress, (uint8 *)(P_INFOPAGE+HAL_INFOP_IEEE_OSET), Z_EXTADDR_LEN). Secondary address is stored in the
last Page of the Flash of CC2530, users can Read/Write with the function HalFlashRead(HAL_FLASH_IEEE_PAGE, HAL_FLASH_IEEE_OSET,
aExtendedAddress, Z_EXTADDR_LEN).
When the protocol stack is operating, how to select Primary IEEE address or Secondary address as MAC address? Please operate in the
function zmain_ext_addr(void).
1) Read IEEE address from NV, if it already exists (not 0xFF), use this address as MAC address;
2) If not in 1), read from the Secondary IEEE address storage place, if it exists (not 0xFF), write the address into NV, and use this address
as MAC address;
3) If not in 2), read from the Primary IEEE address storage place, if it exists (not 0xFF), write the address into NV, and use this address as
MAC address;
4) If not in 3), generate one 64-bit variable randomly, write it into NV, use it as MAC address.
4.1.3.

How to forbid node from searching network, or extend the interval for sending Beacon Request?

End Device is low power consumption device powered by battery, after cutting from network, how to forbid the node from searching
network, or how to extend the interval for sending Beacon Request.
1)
Start searching network uint8 ZDApp_StartJoiningCycle(void)
Stop searching network uint8 ZDApp_StopJoiningCycle(void)
2)
Change the Beacon Request sending period
Modify the variable zgDefaultStartingScanDuration
// Beacon Order Values
#define BEACON_ORDER_NO_BEACONS
#define BEACON_ORDER_4_MINUTES
#define BEACON_ORDER_2_MINUTES
#define BEACON_ORDER_1_MINUTE
#define BEACON_ORDER_31_SECONDS
#define BEACON_ORDER_15_SECONDS
#define BEACON_ORDER_7_5_SECONDS
#define BEACON_ORDER_4_SECONDS
#define BEACON_ORDER_2_SECONDS
#define BEACON_ORDER_1_SECOND
#define BEACON_ORDER_480_MSEC
#define BEACON_ORDER_240_MSEC
#define BEACON_ORDER_120_MSEC
#define BEACON_ORDER_60_MSEC
#define BEACON_ORDER_30_MSEC
#define BEACON_ORDER_15_MSEC
4.1.4.

How to put End Device into low power consumption mode, how to set up sleep time?

After the POWER_SAVING is enabled in the protocol stack macro definition, put DRFD_RCVC_ALWAYS_ON=FALSE in f8wConfig.cfg file,
then the End Device will enter sleep mode.
The sleep time is decided by the OSAL operating system, the latest Event Timeout to occur will be set as sleep time. There is description in
the protocol stack hal_sleep function.
There are two kinds of timeout: one is the timeout of application layer event, the other is the timeout of MAC layer event.
1) Timeout of application layer, can be obtained through osal_next_timeout() of osal_pwrmgr_powerconserve(void) function;
2) Timeout of MAC layer, can be obtained through MAC_PwrNextTimeout() of halSleep(uint16 osal_timeout) function.
4.1.5.

What new features does ZigBee 3.0 stack have?

Please refer to below link, it describes the new features of the ZigBee 3.0 stack as compared with the previous ZigBee Home
Automation/ZigBee Light Link.
http://processors.wiki.ti.com/index.php/What%27s_New_in_ZigBee_3.0
About the status switch in the TI ZigBee protocol stack
http://www.deyisupport.com/question_answer/wireless_connectivity/zigbee/f/104/t/104629.aspx
Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd.
15
14 // 245760 milliseconds
13 // 122880 milliseconds
12 // 61440 milliseconds
11 // 30720 milliseconds
10 // 15360 MSecs
9 //
7680 MSecs
8 //
3840 MSecs
7 //
1920 MSecs
6 //
960 MSecs
5
4
3
2
1
0
User Manual of E18 Series Modules
13 / 15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cc2530

Table of Contents