zephyr/subsys/bluetooth/mesh
Omkar Kulkarni 7e3b509ae1 bluetooth: mesh: check id in connection callbacks
When application uses multiple identities mesh stack keeps reacting
on connection events not related to the own identity (BT_ID_DEFAULT)
causing it to trigger additional advertising and this leads to errors.
Though not harmful, this also leads to mesh stack counting connections
wrongly and consuming internal resources.

This commit fixes the issue described above by checking the
connection id before proceeding further.

Signed-off-by: Omkar Kulkarni <omkar.kulkarni@nordicsemi.no>
2022-11-17 11:17:45 +01:00
..
shell Bluetooth: Mesh: Fix net and app keys commands in shell 2022-11-09 10:50:31 -06:00
access.c Bluetooth: Mesh: Add specific number of keys & groups 2022-11-08 10:45:15 +01:00
access.h Bluetooth: Mesh: Convert model_ackd_send and model_send to a common API 2022-10-19 16:05:16 +02:00
adv_ext.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
adv_legacy.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
adv.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
adv.h
app_keys.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
app_keys.h
beacon.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
beacon.h
cdb.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
cdb.h
cfg_cli.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
cfg_srv.c Bluetooth: Mesh: Add specific number of keys & groups 2022-11-08 10:45:15 +01:00
cfg.c Bluetooth: Remove BT_HEXDUMP_DBG 2022-10-25 10:48:17 +02:00
cfg.h
CMakeLists.txt Bluetooth: Mesh: Move shell.c to subfolder 2022-09-07 15:02:58 +02:00
crypto.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
crypto.h
foundation.h
friend.c Bluetooth: Mesh: Check pending_buf in bt_mesh_send_cb in friend.c 2022-09-13 16:26:39 +00:00
friend.h
gatt_cli.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
gatt_cli.h
health_cli.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
health_srv.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
heartbeat.c
heartbeat.h
Kconfig Bluetooth: Mesh: Extended advertiser as default 2022-11-01 08:52:56 +00:00
lpn.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
lpn.h
main.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
mesh.h doxygen: remove redundant usages of def 2022-08-09 12:29:28 +02:00
msg.c Bluetooth: Mesh: Convert model_ackd_send and model_send to a common API 2022-10-19 16:05:16 +02:00
msg.h Bluetooth: Mesh: Convert model_ackd_send and model_send to a common API 2022-10-19 16:05:16 +02:00
net.c Bluetooth: Rename functions to satisfy CI 2022-11-15 12:20:56 +00:00
net.h Bluetooth: Mesh: Remove msg_cache_next in rx ctx 2022-10-13 09:56:50 +02:00
pb_adv.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
pb_gatt_cli.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
pb_gatt_cli.h
pb_gatt_srv.c bluetooth: mesh: check id in connection callbacks 2022-11-17 11:17:45 +01:00
pb_gatt_srv.h
pb_gatt.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
pb_gatt.h
prov_bearer.h Bluetooth: Mesh: Add prefix bt_mesh_ for global variable 2022-10-03 10:19:57 +02:00
prov_device.c Bluetooth: Mesh: fix static oob zero padding 2022-11-16 11:21:14 +01:00
prov.c Bluetooth: Mesh: fix memory corruption if oob string is 16 bytes 2022-11-16 11:21:14 +01:00
prov.h
provisioner.c Bluetooth: Mesh: fix static oob zero padding 2022-11-16 11:21:14 +01:00
provisioner.h
proxy_cli.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
proxy_cli.h
proxy_msg.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
proxy_msg.h
proxy_srv.c bluetooth: mesh: check id in connection callbacks 2022-11-17 11:17:45 +01:00
proxy.h
rpl.c Bluetooth: Mesh: Fix iv recovery unable clear replay list 2022-09-13 16:24:46 +00:00
rpl.h
settings.c Bluetooth: Remove BT_HEXDUMP_DBG 2022-10-25 10:48:17 +02:00
settings.h Bluetooth: Mesh: Flush pending settings in bt_mesh_reset/_cdb_clear 2022-07-13 10:19:44 +02:00
subnet.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
subnet.h includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
test.c
test.h
TODO
transport.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
transport.h