summaryrefslogtreecommitdiff
path: root/mesh/model.h
diff options
context:
space:
mode:
authorBrian Gix <brian.gix@intel.com>2020-03-18 10:00:20 -0700
committerBrian Gix <brian.gix@intel.com>2020-03-20 11:51:18 -0700
commite8c870c63b8f7f9f2e23ba3f5f3ad6b9adc1012e (patch)
treec5bb2e6f4b0a9c5d22a8c4e3cdf3c3dae7c85178 /mesh/model.h
parent40339fed960a891c1a91f5bf4b3e73d00a952070 (diff)
downloadbluez-e8c870c63b8f7f9f2e23ba3f5f3ad6b9adc1012e.tar.gz
mesh: Allow short messages to be segmented
For added reliability, it is legal to send short messages as "single segment" segmented messages, which require transport layer acknowledgement. This feature is intended for heavy usage in the future so I am adding it now. Further, to support this functionality, an additional queue has been added to allow multiple SAR messages to the same DST to be queued and sent serially.
Diffstat (limited to 'mesh/model.h')
-rw-r--r--mesh/model.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh/model.h b/mesh/model.h
index 153ab9bfd..f8e0f9d37 100644
--- a/mesh/model.h
+++ b/mesh/model.h
@@ -95,7 +95,7 @@ int mesh_model_sub_get(struct mesh_node *node, uint16_t addr, uint32_t id,
uint16_t mesh_model_cfg_blk(uint8_t *pkt);
bool mesh_model_send(struct mesh_node *node, uint16_t src, uint16_t dst,
uint16_t app_idx, uint16_t net_idx,
- uint8_t ttl,
+ uint8_t ttl, bool segmented,
const void *msg, uint16_t msg_len);
int mesh_model_publish(struct mesh_node *node, uint32_t mod_id, uint16_t src,
uint8_t ttl, const void *msg, uint16_t msg_len);