cancel
Showing results for 
Search instead for 
Did you mean: 

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

ledi001
Senior

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?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
_Joe_
ST Employee

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é

View solution in original post

2 REPLIES 2
_Joe_
ST Employee

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é

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