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.

关于Z-Stack1.2.2a 协议栈发射功率的疑问?

Other Parts Discussed in Thread: Z-STACK

关于Z-Stack1.2.2a 协议栈发射功率的疑问?

我有几个问题

1、协议栈默认配置下的发射功率时多少?

2、协议栈的发射功率是自动调整的么?还是恒定不变的?

3、如果自己通过api去配置发射功率,是不是直接调用配置功率的api,需要注意什么?

  • http://www.deyisupport.com/question_answer/wireless_connectivity/zigbee/f/104/t/48856.aspx

    论坛中已有讨论

  • 更具论坛中的讨论,看了一下 对发射功率的初始化,

    MAC_INTERNAL_API void macRadioInit(void)
    {
    /* variable initialization for this module */
    reqChannel = MAC_RADIO_CHANNEL_DEFAULT;
    macPhyChannel = MAC_RADIO_CHANNEL_INVALID;
    macPhyTxPower = MAC_RADIO_TX_POWER_INVALID;
    reqTxPower = MAC_RADIO_TX_POWER_INVALID;
    }

    reqTxPower = MAC_RADIO_TX_POWER_INVALID; //

    1、为什么是无效的发射功率么(MAC_RADIO_TX_POWER_INVALID=0xff)?

    2、还是没看出来发射功率在那了初始化过?

  • TI的员工说发射功率是自动调节的。但是也没找到调节功率的好办法,直接修改TXPOWER是不行,如果你知道怎么修改了,发出来吧,大家一起学习

  • 是的呢,不知道这个自动调整具体是什么意思,一块讨论下吧。

  • macRadioSetTxPower(3);

    macRadioSetTxPower((uint8)(int8)-22);

    这样就能修改但是也没见自动调节,我把这个屏蔽了

    case MAC_PHY_TRANSMIT_POWER_SIGNED:
    // (void)macRadioSetTxPower(pMacPib->phyTransmitPower);

  • 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).

    http://processors.wiki.ti.com/index.php/Z-Stack_FAQ