Wrong Tx Power reading from Beaconing

Hi Everyone!

I'm developing a program for NRF52820 that reads the tx power & rssi and makes the calculation for testing different devices, and I've faced some problems while trying to do this. Now, while reading the tx power of the beconing, (Since it's another code made by me, and is changing his txpower every 3 seconds, the data is encoded, and If u guys are asking, I'm parsing the tx power when I receive it, using the function ble_advdata_parse(). ) But I'm receiving a lot of 0's and sometimes the correct value of tx power.

Lemme show u:

I don't know why It's showing 0's, (I'm filtering for the exact UUID, so I'm only reading 1 advertising, also I'm showing only if the packet is complete).

I would be glad with anyone that could help me, I'm open to answer thing that could help to solve this problem.

Related