Hi,
I add below code in the simpleCentral project:
#define LL_NUM_BYTES_FOR_CHAN_MAP 5
typedef struct
{
uint8 chanMap[ LL_NUM_BYTES_FOR_CHAN_MAP ]; // bit map corresponding to the data channels 0..39
} chanMap_t;
static chanMap_t chanMap;
chanMap.chanMap[0] = 0x00;
chanMap.chanMap[1] = 0xff;
chanMap.chanMap[2] = 0xff;
chanMap.chanMap[3] = 0xff;
chanMap.chanMap[4] = 0x00;
HCI_LE_SetHostChanClassificationCmd(chanMap.chanMap);
but I found the channel map is still 0x1f 0xff 0xff 0xff 0xff in ADV_CONNECT_REQ packet.
what's wrong?