zephyr/include/bluetooth/mesh
Johan Hedberg ed5fb3ff37 Bluetooth: Mesh: Fix (re)transmit interval handling
The adv_send() function was incorrectly decoding the 5-bit value (it
was using it directly as milliseconds), which effectively lead to the
code always picking the controller's minimum supported interval.

Fix this issue, but do it by simplifying the (re)transmission state
tracking so that the state is always stored in the original "packed"
8-bit value, where 5 bits are reserved for the interval, and 3 for the
count.

Fixes #7972

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2018-06-05 19:15:14 +02:00
..
access.h Bluetooth: Mesh: Fix (re)transmit interval handling 2018-06-05 19:15:14 +02:00
cfg_cli.h Bluetooth: Mesh: Add support for sending NetKey Add message 2017-12-05 20:02:19 +02:00
cfg_srv.h Bluetooth: Mesh: Support for storing heartbeat publication persistently 2018-05-11 16:44:43 +03:00
health_cli.h Bluetooth: Mesh: Add support for Health Attention messages 2017-11-23 14:49:55 +02:00
health_srv.h Bluetooth: Mesh: Convert to new net_buf_simple APIs 2018-02-13 14:00:08 +02:00
main.h Bluetooth: Mesh: Expose bt_mesh_is_provisioned() publicly 2018-05-16 18:00:19 +03:00
proxy.h