CyBle_GapcSetHostChannelClassification

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

In order to reduce the interference, I try to control the channel mapping.

   

Once the device is connected, try to execute the following. 

   

But sometime it will failed report HCI 0x28 instant change.

   

 

   

So how to improve this? 

   

 

   

 

   

  case CYBLE_EVT_GAP_DEVICE_CONNECTED:
     DBG_PRINTF("CYBLE_EVT_GAP_DEVICE_CONNECTED: %x \r\n", cyBle_connHandle.bdHandle);
     //CyBle_GapAddDeviceToWhiteList(&peerAddr[deviceN]);
            
     if(channelMap==0){
          uint8 b[]={0xffu,0xffu,0x0u,0x0u,0x10u};  
          CyBle_GapcSetHostChannelClassification(b);               
     }else{
          uint8 b[]={0x1u,0x0u,0xffu,0xffu,0x10u};  
           CyBle_GapcSetHostChannelClassification(b);               
     }

0 Likes
3 Replies
Anonymous
Not applicable

Hi,

   

Did you produce the issue on Cypress board CY8CKIT-042-BLE ?

0 Likes
Anonymous
Not applicable

Yes.

   

If I set the min/max connection time to 7.5ms, it will happen.

   

Once I change to 7.5ms-20ms, this error ratio reduced.

   

But I need to fix to 7.5ms so I need some suggestion on the improvement.

0 Likes
Anonymous
Not applicable

I am looking to do the same thing at a connection interval of 7.5ms.  Did you ever get this to work, and if so, how?

0 Likes