Other Parts Discussed in Thread: Z-STACK
MAC/Low level/Common/mac_radio.c中有函数macRadioSetTxPower(uint8 txPower)
但是不知道它在哪里被调用,所以不知道协议栈中怎么修改发射功率,往指教,多谢!
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.
http://processors.wiki.ti.com/index.php/Z-Stack_FAQ 、
Use ZMacSetTransmitPower() API as described in "Z-Stack API" as follows:
uint8 ZMacSetTransmitPower( ZMacTransmitPower_t level );
However depending on the hardware platform, the input value might be put as the maximum threshold (see macRadioDefsTxPwrBare[] or macRadioDefsTxPwrCC2591[] or macRadioDefsTxPwrCC2590[]) in mac_radio_defs.c for the hardware specific transmit power table).
那么如果想要修改发射功率的话,是不是在