gaoyang9992006
从结果上来看没问题,但是还是建议不要touch太底层的函数。
建议使用下面的API函数操作。
How to set output transmit power
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).
gaoyang9992006
从结果上来看没问题,但是还是建议不要touch太底层的函数。
建议使用下面的API函数操作。
How to set output transmit power
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).
举报