Hi TI-Experts,
first this is the configuration in our project
Device: CC2651R3SIPA
Compiler: TI Clang v2.1.2LTS
SimpleLink SDK: simplelink_cc13xx_cc26xx_sdk_6_30_01_03
We want to use filter policy GAP_ADV_WL_POLICY_WL_ALL_REQ to allow just connections with a bonded device. But that doesn't work, because when we activate GAP_ADV_WL_POLICY_WL_ALL_REQ no GAP_LINK_ESTABLISHED_EVENT occurs in our system on the other device we see GATT ERROR 133 on connection attempt. This is the code snippet from the init:
memcpy(advParams1.peerAddr, persistentMemory->peerRandomStaticAddress, B_ADDR_LEN);
advParams1.peerAddrType = PEER_ADDRTYPE_RANDOM_OR_RANDOM_ID
advParams1.filterPolicy = GAP_ADV_WL_POLICY_WL_ALL_REQ;
When we set the filter policy to GAP_ADV_WL_POLICY_WL_SCAN_REQ the GAP_LINK_ESTABLISHED_EVENT occurs but the address type is 0x03. We expect 0x01 because we use RANDOM_STATIC_ADDRESS on both sides. This is a snapshot from GAP_LINK_ESTABLISHED_EVENT
The connect packet from the other side contains this header
So, what is the reason for this behaviour?
Thanks in advance