请问cc2530可以用指定的信道通信么?默认情况下是自动选择,我想设定下可以么?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
/***********************************************************************************
* @fn halRfSetChannel
*
* @brief Set RF channel in the 2.4GHz band. The Channel must be in the range 11-26,
* 11= 2005 MHz, channel spacing 5 MHz.
*
* @param channel - logical channel number
*
* @return none
*/
void halRfSetChannel(uint8 channel)
{
FREQCTRL = (MIN_CHANNEL + (channel - MIN_CHANNEL) * CHANNEL_SPACING);
}