OVMS3-idf/components/bt/esp_ble_mesh/mesh_core
lly 19c9ae400b ble_mesh: Make model publication struct more compact
Previously the FastPeriodDivisor value was introduced to the model
publication struct. Based on the way it was grouped it seems the
intention was to fit it within the same octet as other bit fields,
but it actually makes the octet overflow by one bit. This ends up
creating another u8_t variable which in turn adds 24 bits of padding
after it.

To keep the size of the struct as compact as possible, group the flag
together with the key index, since that only requires 12 bits. Some
care is needed here, since the mesh stack does have special internal
key index values that require more than 12 bits such as
BLE_MESH_KEY_UNUSED and BLE_MESH_KEY_DEV. In this case restricting
ourselves to 12 bits is fine since the value in the model publication
struct follows 1:1 the value received in the Config Model Publication
Set message, and there the parameter is defined to be exactly 12 bits.
2020-01-13 10:40:13 +08:00
..
bluedroid_host ble_mesh: Fix adv buf unref and link_id in exceptional list 2019-12-20 17:13:15 +08:00
include ble_mesh: Make model publication struct more compact 2020-01-13 10:40:13 +08:00
nimble_host ble_mesh: fix ble mesh device with wrong name on iOS 2019-11-14 16:56:34 +08:00
storage ble_mesh: miscellaneous modifications 2019-11-14 11:59:21 +08:00
access.c ble_mesh: Model message macros 2020-01-13 10:39:10 +08:00
access.h ble_mesh: fix finding netkey/appkey/devkey for tx/rx msg 2019-09-09 17:43:04 +08:00
adv.c ble_mesh: Fix compile error when using release optimization level 2020-01-13 10:40:05 +08:00
adv.h ble_mesh: Encrypt friend packets on send 2020-01-13 10:38:21 +08:00
beacon.c ble_mesh: add proxy client functionality 2019-11-14 10:39:40 +08:00
beacon.h Bluetooth component refactoring 2019-06-30 16:39:00 +08:00
cfg_cli.c ble_mesh: Model message macros 2020-01-13 10:39:10 +08:00
cfg_srv.c ble_mesh: fix virtual addr wrong return value 2020-01-13 10:39:28 +08:00
crypto.c ble_mesh: fix output MIC with additional data 2019-09-09 17:43:23 +08:00
crypto.h Bluetooth component refactoring 2019-06-30 16:39:00 +08:00
foundation.h ble_mesh: Persistent storage of Virtual Address 2020-01-13 10:39:22 +08:00
friend.c ble_mesh: Fixes Provisioner not support friend feature 2020-01-13 10:39:52 +08:00
friend.h ble_mesh: Fixes Provisioner not support friend feature 2020-01-13 10:39:52 +08:00
health_cli.c ble_mesh: Model message macros 2020-01-13 10:39:10 +08:00
health_srv.c ble_mesh: Model message macros 2020-01-13 10:39:10 +08:00
lpn.c ble_mesh: miscellaneous modifications 2019-11-14 11:59:21 +08:00
lpn.h Bluetooth component refactoring 2019-06-30 16:39:00 +08:00
main.c ble_mesh: Fixes Provisioner not support friend feature 2020-01-13 10:39:52 +08:00
mesh.h Bluetooth component refactoring 2019-06-30 16:39:00 +08:00
net.c ble_mesh: Remove useless CONFIG_BLE_MESH_NODE 2020-01-13 10:39:57 +08:00
net.h ble_mesh: Persistent storage of Virtual Address 2020-01-13 10:39:22 +08:00
prov.c ble_mesh: Fix adv buf unref and link_id in exceptional list 2019-12-20 17:13:15 +08:00
prov.h ble_mesh: miscellaneous modifications 2019-11-14 11:59:21 +08:00
provisioner_beacon.c ble_mesh: add Doxyfile for core apis & model apis 2019-07-03 17:58:09 +08:00
provisioner_beacon.h ble_mesh: add Doxyfile for core apis & model apis 2019-07-03 17:58:09 +08:00
provisioner_main.c ble_mesh: Fixes Provisioner not support friend feature 2020-01-13 10:39:52 +08:00
provisioner_main.h ble_mesh: fix finding netkey/appkey/devkey for tx/rx msg 2019-09-09 17:43:04 +08:00
provisioner_prov.c ble_mesh: Fix adv buf unref and link_id in exceptional list 2019-12-20 17:13:15 +08:00
provisioner_prov.h ble_mesh: add proxy client functionality 2019-11-14 10:39:40 +08:00
proxy_client.c ble_mesh: miscellaneous modifications 2019-11-14 11:59:21 +08:00
proxy_client.h ble_mesh: add proxy client functionality 2019-11-14 10:39:40 +08:00
proxy_server.c ble_mesh: Proxy forwards ALL_NODES addr 2020-01-13 10:39:15 +08:00
proxy_server.h ble_mesh: fix ble mesh device with wrong name on iOS 2019-11-14 16:56:34 +08:00
settings.c ble_mesh: Persistent storage of Virtual Address 2020-01-13 10:39:22 +08:00
settings.h ble_mesh: Persistent storage of Virtual Address 2020-01-13 10:39:22 +08:00
test.c Bluetooth component refactoring 2019-06-30 16:39:00 +08:00
test.h Bluetooth component refactoring 2019-06-30 16:39:00 +08:00
transport.c ble_mesh: Remove useless CONFIG_BLE_MESH_NODE 2020-01-13 10:39:57 +08:00
transport.h ble_mesh: Expose app key get function 2020-01-13 10:38:48 +08:00