cancel
Showing results for 
Search instead for 
Did you mean: 

How did SetTxPower for STM32WB55 (run zigbee)

wzhao.1
Associate

The ZbNwkIfSetTxPower func is set tx power,but i don't know this function's parameter NAME(interface name) ,how can get this value?

3 REPLIES 3
pdelrot
Associate III

Hi. I have exactly the same question ! no answer yet, sorry.

Playing with TI and ST boards, my ST Nucleo board refuses to connect to the TI demo board if I do not increase the TI output power (from 0dBm to 3dBm), the error is the link budget.

TI/STM Boards connect if closer than 15cm (that's really small).

Between 2 STM32WB55 boards, no connexion trouble even at 2 meters (greater not yet tested).

So, what about the power settings of the STM32WB55 I'm trying to use ? I may face the same issue later.

Additionnaly the documentation lacks

  • the authorized values for the ZbNwkIfSetTxPower
  • initial value is hard to find (not found yet)

Best regards,

Pascal

Laurent BEYLY
ST Employee

Hi Pascal,

I'm not expert in Zigbee but as I got the same question referring to your post, I share the answer here:

You can use "wpan0" as interface and the Tx power is expressed in dbm.

To retrieve the TxPower, you can use for instance this type of code

if (ZbNwkIfGetTxPower(zigbee_app_info.zb,"wpan0",&val) != true) {

APP_DBG("Error, ZbNwkIfGetTxPower)");

}

The development team plans to improve the documentation soon.

Anyway, I hoped you found the solution since then.

Best regards

Laurent

lukasz2
Associate III

Hi,

I have a problem with setting tx power.

ZbNwkIfSetTxPower return success but ZbNwkIfGetTxPower allways gets 0 dBm.

What kind of problem can it be?

Best Regards