Skip to main content
wzhao.1
Visitor II
October 19, 2020
Question

How did SetTxPower for STM32WB55 (run zigbee)

  • October 19, 2020
  • 3 replies
  • 1222 views

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

This topic has been closed for replies.

3 replies

pdelrot
Associate
December 7, 2020

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

ST Employee
June 18, 2021

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
August 3, 2021

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