summaryrefslogtreecommitdiff
path: root/mesh/net.h
diff options
context:
space:
mode:
authorInga Stotland <johan.hedberg@gmail.com>2018-06-21 23:32:00 -0700
committerMarcel Holtmann <marcel@holtmann.org>2018-07-06 13:03:33 +0200
commitef05f4957dce261ca4aa4def2d360015f8be6eed (patch)
tree9b50f62c2cfe1f61e359641e459772e800493a5a /mesh/net.h
parentf0d0c48e82e485d79393bcd30091cfdc5ee201e7 (diff)
downloadbluez-ef05f4957dce261ca4aa4def2d360015f8be6eed.tar.gz
tools: Move meshctl sources under tools/mesh directory
This is a temporary location until the unified mesh solution is provided
Diffstat (limited to 'mesh/net.h')
-rw-r--r--mesh/net.h58
1 files changed, 0 insertions, 58 deletions
diff --git a/mesh/net.h b/mesh/net.h
deleted file mode 100644
index b388d616c..000000000
--- a/mesh/net.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- *
- * BlueZ - Bluetooth protocol stack for Linux
- *
- * Copyright (C) 2017 Intel Corporation. All rights reserved.
- *
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#include "gdbus/gdbus.h"
-
-typedef void (*net_mesh_session_open_callback)(int status);
-
-uint32_t net_get_iv_index(bool *iv_update);
-bool net_get_key(uint16_t net_idx, uint8_t *key);
-bool net_get_flags(uint16_t net_idx, uint8_t *out_flags);
-void net_set_iv_index(uint32_t index, bool update);
-uint32_t get_sequence_number(void);
-void set_sequence_number(uint32_t seq_number);
-uint16_t net_validate_proxy_beacon(const uint8_t *proxy_beacon);
-bool net_add_address_pool(uint16_t min, uint16_t max);
-uint16_t net_obtain_address(uint8_t num_elements);
-bool net_reserve_address_range(uint16_t base, uint8_t num_elements);
-void net_release_address(uint16_t addr, uint8_t num_elements);
-bool net_session_open(GDBusProxy *data_in, bool provisioner,
- net_mesh_session_open_callback cb);
-void net_session_close(GDBusProxy *data_in);
-
-bool net_data_ready(uint8_t *ptr, uint8_t len);
-bool net_access_layer_send(uint8_t ttl, uint16_t src, uint32_t dst,
- uint16_t app_idx, uint8_t *buf, uint16_t len);
-bool net_ctl_msg_send(uint8_t ttl, uint16_t src, uint16_t dst,
- uint8_t *buf, uint16_t len);
-bool net_set_default_ttl(uint8_t ttl);
-uint8_t net_get_default_ttl(void);
-bool net_set_seq_num(uint32_t seq_num);
-uint32_t net_get_seq_num(void);
-void net_dest_ref(uint16_t dst);
-void net_dest_unref(uint16_t dst);
-bool net_register_unicast(uint16_t unicast, uint8_t count);
-bool net_register_group(uint16_t group_addr);
-uint32_t net_register_virtual(uint8_t buf[16]);
-bool mesh_model_recv(uint16_t app_idx, uint16_t src, uint32_t dst,
- uint8_t *payload, uint16_t len);