- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, everyone,
I would like to carry out a RSSI measurement on both the central and the peripheral side for each individual channel.
Is it possible to enable only a single channel using the Cy_BLE_SetHostChannelClassification(...) function? The Bluetooth specification says that at least two channels must be enabled.
Is there a way to read the current channel?
In which c-file is the hopping algorithm programmed?
Many thanks for your help!
Regards
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Tags:
- Channelmapping
- rssi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We have to set the required two channels with Cy_BLE_SetHostChannelClassification api.
You can use the Cy_BLE_GetChannelMap() API for reading current channel map only.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Cy_BLE_SetHostChannelClassification API can be used to set the required two channels. Please refer to the spec Vol 6 Part B Section 4.5.8.1. For more information, please refer to the Cy_BLE_SetHostChannelClassification api description in PSoC 6 Bluetooth Low Energy Middleware Library.
Cy_BLE_GetChannelMap(cy_stc_ble_channel_map_info_t * param) API can be used to read current channel map for the specified connection handle.
Adaptive Frequency Hopping mechanism is used by the link layer(inside the BLE Stack), which changes the communication channel used for packet transmission so that the interference from other devices is reduced.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Yugandhar,
at first thank you very much for the answer!!
as i understood there is no way to use only one single channel.
In which c-File can i find the Adaptive Frequency Hopping mechanism?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @RebeccaWalter ,
The channel hopping mechanism is implemented in hardware side for PSoC6 BLE so you will not be able to find it in c file.
Thanks & Regards
Pratiksha V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @PratikshaV ,
Hi @Yugandhar ,
So there is no way to get the Channel which is used for the last Communication?
When I enable only one Channel with the function Cy_BLE_SetHostChannelClassification? Is the uC enabeling a second one or is it running with only one single Channel?
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We have to set the required two channels with Cy_BLE_SetHostChannelClassification api.
You can use the Cy_BLE_GetChannelMap() API for reading current channel map only.
Thanks,
P Yugandhar.