Skip to main content
ledi001
Associate III
November 15, 2024
Solved

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

  • November 15, 2024
  • 1 reply
  • 915 views

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?

 

 

Best answer by _Joe_

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é

1 reply

_Joe_Best answer
Technical Moderator
November 15, 2024

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
November 23, 2024

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