+2
-11
lines changedFilter options
+2
-11
lines changed Original file line number Diff line number Diff line change
@@ -1949,10 +1949,6 @@ int bt_mesh_update_exceptional_list(uint8_t sub_code, uint32_t type, void *info)
1949
1949
uint8_t value[6] = {0};
1950
1950
int rc = 0;
1951
1951
1952
-
#if MYNEWT_VAL(BLE_HCI_VS)
1953
-
struct ble_hci_vs_duplicate_exception_list_cp cmd;
1954
-
#endif
1955
-
1956
1952
if ((sub_code > BLE_MESH_EXCEP_LIST_SUB_CODE_CLEAN) ||
1957
1953
(sub_code < BLE_MESH_EXCEP_LIST_SUB_CODE_CLEAN &&
1958
1954
type > BLE_MESH_EXCEP_LIST_TYPE_MESH_PROXY_ADV) ||
@@ -1973,12 +1969,7 @@ int bt_mesh_update_exceptional_list(uint8_t sub_code, uint32_t type, void *info)
1973
1969
BT_DBG("%s exceptional list, type 0x%08x", sub_code ? "Remove" : "Add", type);
1974
1970
1975
1971
#if MYNEWT_VAL(BLE_HCI_VS)
1976
-
cmd.operation = sub_code;
1977
-
cmd.type = htole32(type);
1978
-
memcpy(&cmd.device_info, value, 6);
1979
-
1980
-
rc = ble_hs_hci_send_vs_cmd(BLE_HCI_OCF_VS_DUPLICATE_EXCEPTION_LIST,
1981
-
&cmd, sizeof(cmd), NULL, 0);
1972
+
rc = ble_gap_duplicate_exception_list(sub_code, type, value, NULL);
1982
1973
#endif
1983
1974
1984
1975
return rc;
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4