|
应用场景:
同一空间,两组终端(共4个),A和B之间通信,C和D之间通信,
由于通信比较频繁且随机(发起方分别是A和C,B和D只作响应),希望AB之间的通信不会影响CD之间的通信,
请教大家:需要配置什么参数,怎么配置?
是配置这个参数结构体吗?还需要配置别的参数吗?
typedef struct
{
uint8 chan ; //!< channel number {1, 2, 3, 4, 5, 7 }
uint8 prf ; //!< Pulse Repetition Frequency {DWT_PRF_16M or DWT_PRF_64M}
uint8 txPreambLength ; //!< DWT_PLEN_64..DWT_PLEN_4096
uint8 rxPAC ; //!< Acquisition Chunk Size (Relates to RX preamble length)
uint8 txCode ; //!< TX preamble code
uint8 rxCode ; //!< RX preamble code
uint8 nsSFD ; //!< Boolean should we use non-standard SFD for better performance
uint8 dataRate ; //!< Data Rate {DWT_BR_110K, DWT_BR_850K or DWT_BR_6M8}
uint8 phrMode ; //!< PHR mode {0x0 - standard DWT_PHRMODE_STD, 0x3 - extended frames DWT_PHRMODE_EXT}
uint16 sfdTO ; //!< SFD timeout value (in symbols)
} dwt_config_t ;
|
|