Skip to main content
ledi001
Associate III
Nov 15, 2024 8:09 AM UTC
Solved

How to set different Channels/Frequencies for TX/RX (2402, 2440, 2480 MHz)

Hello,

I am using the BLE_p2pServer_ota example from the STM32Cube_FW_WBA_V1.4.1 firmware package.

For testing purposes I would like to set different channels/frequencies for TX/RX (2402, 2440, 2480 ... MHz). Where can I find the corresponding functions for setting them?

 

 

This topic has been closed for replies.
Joe_Best answer
ST Technical Moderator
Nov 15, 2024 5:53 PM UTC

Hi Ledi,
You can't choose your channels directly, but you can choose to exclude some of them.
This is mentioned in the errata sheet for the stm32wba (2.3.1 Bluetooth® Low Energy frequency deviation (DF1)).
This is done with the command: HCI_LE_SET_HOST_CHANNEL_CLASSIFICATION.

PS: Be careful, however, that if you exclude too many channels, the link may become unstable if the remaining channels are disturbed.

BR, Joé

2 replies

Joe_Best answer
ST Technical Moderator
Nov 15, 2024 5:53 PM UTC

Hi Ledi,
You can't choose your channels directly, but you can choose to exclude some of them.
This is mentioned in the errata sheet for the stm32wba (2.3.1 Bluetooth® Low Energy frequency deviation (DF1)).
This is done with the command: HCI_LE_SET_HOST_CHANNEL_CLASSIFICATION.

PS: Be careful, however, that if you exclude too many channels, the link may become unstable if the remaining channels are disturbed.

BR, Joé

ledi001
ledi001Author
Associate III
Nov 23, 2024 8:10 AM UTC

Hi @Joe_ ,

Thank you for the answer. Where can I find the command HCI_LE_SET_HOST_CHANNEL_CLASSIFICATION? There are so many files in the BLE_p2pServer_ota project. Is there an easy way to find the command via a search window in the whole project (not only in the selected file)?

BR, Ledi