typedef struct tag_rf_config { uint8_t LLEMode; //!< BIT0 0=basic, 1=auto def@LLE_MODE_TYPE //!< BIT1 0=whitening on, 1=whitening off def@LLE_WHITENING_TYPE //!< BIT6 0=data channel(0-39) //!< 1=rf frequency (2400000kHz-2483500kHz) //!< BIT7 0=the first byte of the receive buffer is rssi //!< 1=the first byte of the receive buffer is package type uint8_t Channel; //!< rf channel(0-39) uint32_t Frequency; //!< rf frequency (2400000kHz-2483500kHz) uint32_t accessAddress; //!< access address,32bit PHY address uint32_t CRCInit; //!< crc initial value pfnRFStatusCB_t rfStatusCB; //!< status call back uint32_t ChannelMap; //!< indicating Used and Unused data channels.Every channel is represented with a //!< bit positioned as per the data channel index,The LSB represents data channel index 0 uint8_t Resv; uint8_t HeartPeriod; //!< The heart package interval shall be an integer multiple of 100ms uint8_t HopPeriod; //!< hop period( T=32n*RTC clock ),default is 8 uint8_t HopIndex; //!< indicate the hopIncrement used in the data channel selection algorithm,default is 17 uint8_t RxMaxlen; //!< Maximum data length received in rf-mode(default 251) uint8_t TxMaxlen; //!< Maximum data length transmit in rf-mode(default 251) } rfConfig_t;
RF通信想要一对多发送需要怎么设置RF参数,区分不同RF设备是通过设置accessAdreess吗
看到RF设备间需要切换收发角色反馈数据,例程中收发两方使用相同的accessAdreess参数,那如果还有另一个accessAdreess的设备,这个发送的设备也需要跟着把accessAdreess也改成要接收的另一个的RF设备的accessAdreess吗,只需要重新初始化RF然后RF_Tx来发送给另一个设备吗