Part Number: LAUNCHXL-CC26X2R1
Hello,
This is a follow up question to link
I'm using HCI_EXT_SetLocalSupportedFeaturesCmd() to change the stack features but some features do not get disabled (Ping, Privacy, Extended Scanner Filter Policies, Extended Advertising). I'm not worried about the Extended Advertsing feature because we're using it in our Application so I'll want that enabled but I do want to disable Ping, Privacy and Extended Scanner Filter Policies.
Running a simple test, I wrote the following code:
const uint8_t llFeatureSet[8] = {0, 0, 0, 0, 0, 0, 0, 0};
ALLEGE(HCI_EXT_SetLocalSupportedFeaturesCmd((uint8*)&llFeatureSet[0]), HCI_SUCCESS);
When I connect to the device with btool, I get the following features:
[7] : <Rx> - 04:17:38.498
-Type : 0x04 (Event)
-EventCode : 0x003E (HCI_LE_GenericReportEvent)
-Data Length : 0x0C (12) bytes(s)
LE Event Code : 0x04 (4) (HCI_LE_ReadRemoteUsedFeaturesCompleteEvent)
LE Event Code : 0x04 (4) (HCI_LE_ReadRemoteUsedFeaturesCompleteEvent)
Status : 0x00 (0) (SUCCESS)
ConnectionId : 0x0000 (0)
Features : 0x00000000000010D0 (4304) (
Ping
Privacy
Extended_Scanner_Filter_Policies
Extended_Advertising)
Dump(Rx):
0000:04 3E 0C 04 00 00 00 D0 10 00 00 00 00 00 00
What would be overriding the selections I send into HCI_EXT_SetLocalSupportedFeaturesCmd()? Are there compile flags that might be controlling this?
Thanks,
Dawn