Hi,
The slave broadcasts using only channel 37, and the host calls the interface GAP_SetParamValue(GAP_PARAM_SET_SCAN_CHAN, LL_SCN_ADV_MAP_CHAN_7) to set the scanning channel to 37. After calling GapScan_enable, it does indeed scan only to devices with channel 37 After calling GapScan_enable, it does only scan devices with channel 37. But when I call GapInit_connect to initiate the connection, the broadcast devices of channel 37, 38 and 39 can be connected, if I only want to connect the broadcast devices of channel 37, how should I configure it.
sdk version:simplelink_cc13xx_cc26xx_sdk_7_10_01_24
The slave broadcast channels are configured as follows:
GapAdv_params_t advParams1 = { .eventProps = GAP_ADV_PROP_CONNECTABLE | GAP_ADV_PROP_LEGACY | GAP_ADV_PROP_SCANNABLE, .primIntMin = 1600, .primIntMax = 1600, .primChanMap = GAP_ADV_CHAN_37, .peerAddrType = PEER_ADDRTYPE_PUBLIC_OR_PUBLIC_ID, .peerAddr = { 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa }, .filterPolicy = GAP_ADV_WL_POLICY_ANY_REQ, .txPower = GAP_ADV_TX_POWER_NO_PREFERENCE, .primPhy = GAP_ADV_PRIM_PHY_1_MBPS, .secPhy = GAP_ADV_SEC_PHY_1_MBPS, .sid = 0 };