RT,请问Beacon Request的发送间隔与发送次数如何改变?我抓包好像是会在启动时发送5次,0.8S左右的间隔,之后如果没有入网会过8S左右再发送一次,请问这个是在哪里设置的?
Viki Shi:
修改一下两个参数:DBEACON_REQUEST_DELAY与DBEACON_REQ_DELAY_MASK,都在f8wconfig.cfg中
/* Minimum number of milliseconds to delay between each beacon request* in a joining cycle.*/-DBEACON_REQUEST_DELAY=100
/* Mask for the random beacon request delay. This value is masked with the* return from osal_rand() to get a random delay time for each joining cycle.* This random value is added to DBEACON_REQUEST_DELAY. For example, a value* of 0x00FF will be a beacon request delay of 0 to 255 milliseconds.*/-DBEACON_REQ_DELAY_MASK=0x00FF