22#include "data_types.h"
30#define BTIF_STORAGE_FILL_PROPERTY(p_prop, t, l, p_v) \
31 (p_prop)->type = t;(p_prop)->len = l; (p_prop)->val = (p_v);
51bt_status_t btif_storage_get_adapter_property(bt_property_t *property);
64bt_status_t btif_storage_set_adapter_property(bt_property_t *property);
79bt_status_t btif_storage_get_remote_device_property(bt_bdaddr_t *remote_bd_addr,
80 bt_property_t *property);
93bt_status_t btif_storage_set_remote_device_property(bt_bdaddr_t *remote_bd_addr,
94 bt_property_t *property);
108bt_status_t btif_storage_add_remote_device(bt_bdaddr_t *remote_bdaddr,
109 uint32_t num_properties,
110 bt_property_t *properties);
123bt_status_t btif_storage_add_bonded_device(bt_bdaddr_t *remote_bd_addr,
138bt_status_t btif_storage_remove_bonded_device(bt_bdaddr_t *remote_bd_addr);
150bt_status_t btif_storage_load_bonded_devices(
void);
162bt_status_t btif_storage_read_hl_apps_cb(
char *value,
int value_size);
174bt_status_t btif_storage_write_hl_apps_cb(
char *value,
int value_size);
186bt_status_t btif_storage_read_hl_app_data(UINT8 app_idx,
char *value,
int value_size);
198bt_status_t btif_storage_write_hl_app_data(UINT8 app_idx,
char *value,
int value_size);
210bt_status_t btif_storage_read_hl_mdl_data(UINT8 app_idx,
char *value,
int value_size);
222bt_status_t btif_storage_write_hl_mdl_data(UINT8 app_idx,
char *value,
int value_size);
234bt_status_t btif_storage_add_hid_device_info(bt_bdaddr_t *remote_bd_addr,
235 UINT16 attr_mask, UINT8 sub_class,
236 UINT8 app_id, UINT16 vendor_id,
237 UINT16 product_id, UINT16 version,
238 UINT8 ctry_code, UINT16 dl_len,
251bt_status_t btif_storage_load_bonded_hid_info(
void);
263bt_status_t btif_storage_remove_hid_info(bt_bdaddr_t *remote_bd_addr);
275bt_status_t btif_storage_load_autopair_device_list();
287BOOLEAN btif_storage_is_device_autopair_blacklisted(bt_bdaddr_t *remote_dev_addr);
299bt_status_t btif_storage_add_device_to_autopair_blacklist(bt_bdaddr_t *remote_dev_addr);
311BOOLEAN btif_storage_is_fixed_pin_zeros_keyboard(bt_bdaddr_t *remote_dev_addr);