Microchip® Advanced Software Framework

miwi_config_p2p.h File Reference

Configuration for MiWi P2P Protocol.

Copyright (c) 2018 - 2019 Microchip Technology Inc. and its subsidiaries.

#include "miwi_config.h"
#include "sysTimer.h"

Macros

#define ACTIVE_SCAN_RESULT_SIZE   4
 
#define CONNECTION_INTERVAL   2
 
#define CONNECTION_RETRY_TIMES   3
 
#define COUNTER_CRYSTAL_FREQ   32768
 
#define ENABLE_DUMP
 
#define FA_BROADCAST_TIME   0x03
 
#define INDIRECT_MESSAGE_SIZE   2
 
#define INDIRECT_MESSAGE_TIMEOUT   (RFD_WAKEUP_INTERVAL * (INDIRECT_MESSAGE_SIZE + 1))
 
#define RESYNC_TIMES   0x03
 
#define RFD_DATA_WAIT   0x00006FFF
 
#define TIME_SYNC_SLOTS   10
 

#define ACTIVE_SCAN_RESULT_SIZE   4

Referenced by sendConnectionRequest().

#define CONNECTION_INTERVAL   2

Referenced by connReqConfCallback().

#define CONNECTION_RETRY_TIMES   3
#define COUNTER_CRYSTAL_FREQ   32768
#define ENABLE_DUMP
#define FA_BROADCAST_TIME   0x03
#define INDIRECT_MESSAGE_SIZE   2
#define INDIRECT_MESSAGE_TIMEOUT   (RFD_WAKEUP_INTERVAL * (INDIRECT_MESSAGE_SIZE + 1))

Referenced by frameParse(), and MiApp_SendData().

#define RESYNC_TIMES   0x03
#define RFD_DATA_WAIT   0x00006FFF

Referenced by connReqConfCallback().

#define TIME_SYNC_SLOTS   10