RANDOM_DELAY_RANGE Macro

MiWi Development Environment

MiWi(TM) Development Environment Help
RANDOM_DELAY_RANGE Macro
C
#define RANDOM_DELAY_RANGE 200
Description

RANDOM_DELAY_RANGE defines random delay range in milliseconds. When rebroadcast a message, it is recommended that a Coordinator should introduce a random delay to avoid multiple Coordinators rebroadcast and collide the messages at the same time. The actual random delay will be randomly selected between 0 and RANDOM_DELAY_RANGE. This setting is recommended to be set higher than 20. The value is represented by BYTE with 8-bit data width, thus should be less than 256.

Microchip My Application xx.yy - [Jan 1, 2009]
Copyright © 2009 Microchip Technology, Inc.  All rights reserved.