Tool/software: Code Composer Studio
Hello,
We are testing CC2640R2F product in our lab and it shows different performance with RSSI depends on data channels.
I found these three threads on the forum and knew that the way to limit channel using channel maps.
https://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/t/598251
https://e2e.ti.com/support/wireless_connectivity/bluetooth_low_energy/f/538/p/507332/1844550
https://e2e.ti.com/support/wireless_connectivity/bluetooth_low_energy/f/538/p/404558/1433442
These talked about HCI_LE_SetHostChanClassificationCmd() command and I put the following code on GAP_LINK_ESTABLISHED_EVENT and return value is SUCCESS (0x00)
case GAP_LINK_ESTABLISHED_EVENT: static chanMap_t chanMap; uint8_t status; chanMap.chanMap[0] = 0x01; // Channel 1 chanMap.chanMap[1] = 0x00; chanMap.chanMap[2] = 0x00; chanMap.chanMap[3] = 0x00; chanMap.chanMap[4] = 0x00; status = HCI_LE_SetHostChanClassificationCmd(chanMap.chanMap); Display_print1(dispHandle, 22, 0, "ChanMap: %d", status); ....
As far as I understand, it transmit data via data channel 1 and do not use other data channel.
But, when I read device info by hciActiveConnInfo_t struct. it still hop channel.
I want to get some advice.
Thanks for your help in advance.
1. How to transmit data using only one channel?
2. Is it the correct way to use HCI_LE_SetHostChanClassificationCmd()?
Regards,
Soon