[STM32] Observing malformed Advertisement Reports on STM32WB55
Posted: Thu May 12, 2022 9:08 am
Hi,
I have been observing erroneous data when receiving BLE Advertisements with our micropython setup. Our data shows RSSI and general data errors at an interval of ~5h. Now I looked a bit closer and found that LE Advertisement reports have fairly frequently wrong RSSI data.
If I print the data passed to ble_hs_hci_evt_le_adv_rpt() I get:
LeAdvRpt: 020100004312b5d1d8ea1d0201061916f7fd011219cae292db59043e1f020100012792f34bfb591302
The associated data entering through mp_bluetooth_nimble_hci_uart_process() looks almost identical:
> 04
> 3e
> 29
> 02
> 01
> 00
> 00
> 43
> 12
> b5
> d1
> d8
> ea
> 1d
> 02
> 01
> 06
> 19
> 16
> f7
> fd
> 01
> 12
> 19
> ca
> e2
> 92
> db
> 59
> 04
> 3e
> 1f
> 02
> 01
> 00
> 01
> 27
> 92
> f3
> 4b
> fb
> 59
> 13
> 02
I run this on our proprietary hardware using a STM32WB55VGQ6. Our Wireless FW version is the HCI variant of 1.11.1.0.1. The micropython version is 1.18 .
First I would like to know whether our wireless FW is the correct version, and whether you have seen similar issues and maybe how to fix them. I hope you can help.
Best Regards,
Kilian
I have been observing erroneous data when receiving BLE Advertisements with our micropython setup. Our data shows RSSI and general data errors at an interval of ~5h. Now I looked a bit closer and found that LE Advertisement reports have fairly frequently wrong RSSI data.
If I print the data passed to ble_hs_hci_evt_le_adv_rpt() I get:
LeAdvRpt: 020100004312b5d1d8ea1d0201061916f7fd011219cae292db59043e1f020100012792f34bfb591302
The associated data entering through mp_bluetooth_nimble_hci_uart_process() looks almost identical:
> 04
> 3e
> 29
> 02
> 01
> 00
> 00
> 43
> 12
> b5
> d1
> d8
> ea
> 1d
> 02
> 01
> 06
> 19
> 16
> f7
> fd
> 01
> 12
> 19
> ca
> e2
> 92
> db
> 59
> 04
> 3e
> 1f
> 02
> 01
> 00
> 01
> 27
> 92
> f3
> 4b
> fb
> 59
> 13
> 02
I run this on our proprietary hardware using a STM32WB55VGQ6. Our Wireless FW version is the HCI variant of 1.11.1.0.1. The micropython version is 1.18 .
First I would like to know whether our wireless FW is the correct version, and whether you have seen similar issues and maybe how to fix them. I hope you can help.
Best Regards,
Kilian