summaryrefslogtreecommitdiff
path: root/mesh/mesh.h
diff options
context:
space:
mode:
authorBrian Gix <brian.gix@intel.com>2019-07-11 15:59:51 -0700
committerBrian Gix <brian.gix@intel.com>2019-07-14 08:32:18 -0700
commit2e46771050e6f302e4b7a8a1760ab19e68ea2385 (patch)
tree0a72f16bbe06de217dc2d7fc8eb991834e81238e /mesh/mesh.h
parent20585d786bd6c52f84182621cb7299e00d01b2dc (diff)
downloadbluez-2e46771050e6f302e4b7a8a1760ab19e68ea2385.tar.gz
mesh: Convert provisioning pkts to packed structs
Provisioning packets are defined in the specification as packed big endian structures. Instead of specifying an octet array, we now use struct matching the spec.
Diffstat (limited to 'mesh/mesh.h')
-rw-r--r--mesh/mesh.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/mesh/mesh.h b/mesh/mesh.h
index 2ef77b57d..78d4d4926 100644
--- a/mesh/mesh.h
+++ b/mesh/mesh.h
@@ -37,8 +37,7 @@ void mesh_cleanup(void);
bool mesh_dbus_init(struct l_dbus *dbus);
const char *mesh_status_str(uint8_t err);
-bool mesh_send_pkt(uint8_t count, uint16_t interval, uint8_t *data,
- uint16_t len);
+bool mesh_send_pkt(uint8_t count, uint16_t interval, void *data, uint16_t len);
bool mesh_send_cancel(const uint8_t *filter, uint8_t len);
bool mesh_reg_prov_rx(prov_rx_cb_t cb, void *user_data);
void mesh_unreg_prov_rx(prov_rx_cb_t cb);