|
Packit Service |
8264ee |
/*
|
|
Packit Service |
8264ee |
*
|
|
Packit Service |
8264ee |
* BlueZ - Bluetooth protocol stack for Linux
|
|
Packit Service |
8264ee |
*
|
|
Packit Service |
8264ee |
* Copyright (C) 2017 Intel Corporation. All rights reserved.
|
|
Packit Service |
8264ee |
*
|
|
Packit Service |
8264ee |
*
|
|
Packit Service |
8264ee |
* This library is free software; you can redistribute it and/or
|
|
Packit Service |
8264ee |
* modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
8264ee |
* License as published by the Free Software Foundation; either
|
|
Packit Service |
8264ee |
* version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
8264ee |
*
|
|
Packit Service |
8264ee |
* This library is distributed in the hope that it will be useful,
|
|
Packit Service |
8264ee |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
8264ee |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
8264ee |
* Lesser General Public License for more details.
|
|
Packit Service |
8264ee |
*
|
|
Packit Service |
8264ee |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
8264ee |
* License along with this library; if not, write to the Free Software
|
|
Packit Service |
8264ee |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
Packit Service |
8264ee |
*
|
|
Packit Service |
8264ee |
*/
|
|
Packit Service |
8264ee |
|
|
Packit Service |
8264ee |
bool prov_db_show(const char *filename);
|
|
Packit Service |
8264ee |
bool prov_db_read(const char *filename);
|
|
Packit Service |
8264ee |
bool prov_db_read_local_node(const char *filename, bool provisioner);
|
|
Packit Service |
8264ee |
bool prov_db_add_new_node(struct mesh_node *node);
|
|
Packit Service |
8264ee |
bool prov_db_add_node_composition(struct mesh_node *node, uint8_t *data,
|
|
Packit Service |
8264ee |
uint16_t len);
|
|
Packit Service |
8264ee |
bool prov_db_node_keys(struct mesh_node *node, GList *idxs, const char *desc);
|
|
Packit Service |
8264ee |
bool prov_db_add_binding(struct mesh_node *node, uint8_t ele_idx,
|
|
Packit Service |
8264ee |
uint32_t model_id, uint16_t app_idx);
|
|
Packit Service |
8264ee |
bool prov_db_add_subscription(struct mesh_node *node, uint8_t ele_idx,
|
|
Packit Service |
8264ee |
uint32_t model_id, uint16_t addr);
|
|
Packit Service |
8264ee |
bool prov_db_node_set_ttl(struct mesh_node *node, uint8_t ttl);
|
|
Packit Service |
8264ee |
bool prov_db_node_set_iv_seq(struct mesh_node *node, uint32_t iv, uint32_t seq);
|
|
Packit Service |
8264ee |
bool prov_db_local_set_iv_index(uint32_t iv_index, bool update, bool prov);
|
|
Packit Service |
8264ee |
bool prov_db_local_set_seq_num(uint32_t seq_num);
|
|
Packit Service |
8264ee |
bool prov_db_node_set_model_pub(struct mesh_node *node, uint8_t ele_idx,
|
|
Packit Service |
8264ee |
uint32_t model_id,
|
|
Packit Service |
8264ee |
struct mesh_publication *pub);
|
|
Packit Service |
8264ee |
void prov_db_print_node_composition(struct mesh_node *node);
|