2022-11-17 12:03 PM
Hello,
I noticed that ACI_HAL_LE_TX_TEST_PACKET_NUMBER command returns wrong number of packets. It seems that the value is trimmed to two bytes.
Steps to reproduce:
I've measured number of packets that device sends in 10 seconds. It's equal 15969.
Then i was increasing time by 10 seconds and number of packets returned by ACI_HAL_LE_TX_TEST_PACKET_NUMBER command was as expected until 50seconds.
Below is the table with results:
10s : 15969 packets
20s : 31954 packets
30s : 47938 packets
40s : 63923 packets
50s : 14371 packets (expected about 79890 -> 14371 + 65536 = 79907)
60s : 30355 packets (expected about 95870 -> 30355 + 65536 = 95891)
Also i've checked content of buffer returned from api function and just as expected higher two bytes of "number_of_packets part" are always zeroes.
Could anyone check and confirm this behaviour?
__
mcu: STM32WB55
stack: HCI EXTENDED 1.13.2
FUS: 1.2.0
2022-11-23 02:36 AM
Hello,
I'll keep you posted with the updates. An internal ticket has been open, ticket number: 139445 (This is an internal tracking number and is not accessible or usable by customers).
Best Regards
2022-11-24 02:23 AM
Hello,
There is a mistake in the documentation, the counter is based on a 16-bit counter and not a 32-bit counter. The documentation will be updated in the next version.
Best Regards
2022-11-28 02:06 AM
Hi, thanks for explanation.
Best regards.