esp-idf/components/bt
lly 7d7bbec5fe 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-06 16:17:36 +08:00
..
common btdm:fix the problem that Not getting complete Identity Address (Public Address) of the Privacy-enabled Bonded Device after bonding. beacuse of the wrong memcpy in LE_KEY callback handler. 2019-12-09 15:21:49 +08:00
controller component/bt: allow adv stop again when adv is already stoped and fix crash when tx prog sometimes 2019-11-27 10:03:06 +00:00
esp_ble_mesh ble_mesh: Make model publication struct more compact 2020-01-06 16:17:36 +08:00
host components/bt: Revert changes of security mask 2019-12-25 20:03:16 +08:00
include bluetooth: Remove bt.h header (deprecated in v3.1-dev) 2019-09-13 09:44:07 +10:00
test components: use new component registration api 2019-06-21 19:53:29 +08:00
CMakeLists.txt global: remove gcc 5.2 support 2019-11-20 11:17:27 +01:00
component.mk global: remove gcc 5.2 support 2019-11-20 11:17:27 +01:00
Kconfig Changes in menuconfig options to not compile any host when using hci 2019-11-22 11:14:50 +05:30
sdkconfig.rename HFP AG Example 2019-11-27 13:35:35 +00:00